You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be useful have notification of the warning generated by the test (pytest in my case)
What steps will reproduce the problem?
When I run pytest in the terminal I got 2 warnings:
lab@domenico-HP-ENVY-Notebook:~/Dropbox/Python_Script/Papillon_dev$ pytest
================================================================ test session starts =================================================================
platform linux -- Python 3.6.4, pytest-3.2.1, py-1.4.34, pluggy-0.4.0
rootdir: /home/lab/Dropbox/Python_Script/Papillon_dev, inifile:
collected 21 items
test/test_papillon.py .....................
================================================================== warnings summary ==================================================================
test/test_papillon.py::papillon_Test::test_plots
/home/lab/anaconda3/lib/python3.6/site-packages/seaborn/categorical.py:3666: UserWarning: The `factorplot` function has been renamed to `catplot`. The original name will be removed in a future release. Please update your code. Note that the default `kind` in `factorplot` (`'point'`) has changed `'strip'` in `catplot`.
warnings.warn(msg)
/home/lab/anaconda3/lib/python3.6/site-packages/seaborn/categorical.py:3672: UserWarning: The `size` paramter has been renamed to `height`; please update your code.
warnings.warn(msg, UserWarning)
-- Docs: http://doc.pytest.org/en/latest/warnings.html
======================================================= 21 passed, 2 warnings in 15.90 seconds =======================================================
lab@domenico-HP-ENVY-Notebook:~/Dropbox/Python_Script/Papillon_dev$
But if I run spyder-unittest it says 0 tests failed, 21 passed
if I click on "show output" the warning are there:
============================= test session starts ==============================
platform linux -- Python 3.6.4, pytest-3.2.1, py-1.4.34, pluggy-0.4.0
rootdir: /home/lab/Dropbox/Python_Script/Papillon_dev, inifile:
collected 21 items
test/test_papillon.py .....................
=============================== warnings summary ===============================
test/test_papillon.py::papillon_Test::test_plots
/home/lab/anaconda3/lib/python3.6/site-packages/seaborn/categorical.py:3666: UserWarning: The `factorplot` function has been renamed to `catplot`. The original name will be removed in a future release. Please update your code. Note that the default `kind` in `factorplot` (`'point'`) has changed `'strip'` in `catplot`.
warnings.warn(msg)
/home/lab/anaconda3/lib/python3.6/site-packages/seaborn/categorical.py:3672: UserWarning: The `size` paramter has been renamed to `height`; please update your code.
warnings.warn(msg, UserWarning)
-- Docs: http://doc.pytest.org/en/latest/warnings.html
==================== 21 passed, 2 warnings in 12.63 seconds ====================
What is the expected output? What do you see instead?
I would expect a yellow bar saying 0 tests failed, 21 passed, 2 warnings
I see:
a green bar saying 0 tests failed, 21 passed
that let me think everything is ok, while is not...
Key versions and other information:
Spyder version: 3.3.0
Version of spyder-unittest plugin: 0.3.1
Installation method for Spyder and the unittest plugin: pip3
Python version: 3.6.4
Testing framework used: py.test
Testing framework version: 3.2.1
Operating system: Ubuntu 16.04.4
The text was updated successfully, but these errors were encountered:
Hi, thanks for this plugin.
Description of your problem
Would be useful have notification of the warning generated by the test (pytest in my case)
What steps will reproduce the problem?
When I run pytest in the terminal I got 2 warnings:
But if I run spyder-unittest it says
0 tests failed, 21 passed
if I click on "show output" the warning are there:
What is the expected output? What do you see instead?
I would expect a yellow bar saying
0 tests failed, 21 passed, 2 warnings
I see:
a green bar saying
0 tests failed, 21 passed
that let me think everything is ok, while is not...
Key versions and other information:
The text was updated successfully, but these errors were encountered: