Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
pytest: do not ignore warnings but filter matrix and scipy deprecations
  • Loading branch information
bnavigator committed Jun 26, 2020
commit 3dc85f7a2706597326e9f8303a7336dbba3571b1
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ install:
# command to run tests
script:
- 'if [ $SLYCOT != "" ]; then python -c "import slycot"; fi'
- coverage run -m pytest --disable-warnings control/tests
- coverage run -m pytest control/tests

# only run examples if Slycot is install
# set PYTHONPATH for examples
Expand Down
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
[bdist_wheel]
universal=1

[tool:pytest]
filterwarnings =
ignore:.*matrix subclass:PendingDeprecationWarning
ignore:.*scipy:DeprecationWarning