8000 Merge pull request #6018 from njsmith/filter-nose-3.5-warnings · njsmith/numpy@bf5bb1a · GitHub
[go: up one dir, main page]

Skip to content

Commit bf5bb1a

Browse files
committed
Merge pull request numpy#6018 from njsmith/filter-nose-3.5-warnings
MAINT: filter out some warnings triggered by nose 1.3.7 + python 3.5b2
2 parents 21962fc + e8c4124 commit bf5bb1a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

numpy/testing/nosetester.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,12 @@ def test(self, label='fast', verbose=1, extra_argv=None,
425425
# older versions of scipy to test without a flood of messages.
426426
warnings.filterwarnings("ignore", message=".*boolean negative.*")
427427
warnings.filterwarnings("ignore", message=".*boolean subtract.*")
428+
# Filter out some deprecation warnings inside nose 1.3.7 when run
429+
# on python 3.5b2. See
430+
# https://github.com/nose-devs/nose/issues/929
431+
warnings.filterwarnings("ignore", message=".*getargspec.*",
432+
category=DeprecationWarning,
433+
module="nose\.")
428434

429435
from .noseclasses import NumpyTestProgram
430436

0 commit comments

Comments
 (0)
0