diff --git a/.travis.yml b/.travis.yml index 62333ead8..d0201031b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/setup.cfg b/setup.cfg index 3c6e79cf3..ac4f92c75 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,8 @@ [bdist_wheel] universal=1 + +[tool:pytest] +filterwarnings = + ignore:.*matrix subclass:PendingDeprecationWarning + ignore:.*scipy:DeprecationWarning +