Skip to content

Commit a9d869e

Browse files
authored
pytest: do not ignore warnings but filter matrix and scipy deprecations (#423)
1 parent 03183d1 commit a9d869e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ install:
130130
# command to run tests
131131
script:
132132
- 'if [ $SLYCOT != "" ]; then python -c "import slycot"; fi'
133-
- coverage run -m pytest --disable-warnings control/tests
133+
- coverage run -m pytest control/tests
134134

135135
# only run examples if Slycot is install
136136
# set PYTHONPATH for examples

setup.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
[bdist_wheel]
22
universal=1
3+
4+
[tool:pytest]
5+
filterwarnings =
6+
ignore:.*matrix subclass:PendingDeprecationWarning
7+
ignore:.*scipy:DeprecationWarning
8+

0 commit comments

Comments
 (0)