Skip to content

Commit 3dc85f7

Browse files
committed
pytest: do not ignore warnings but filter matrix and scipy deprecations
1 parent 03183d1 commit 3dc85f7

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy