Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

TST: also filter Cython warnings in NoseTester. See PR-432.

There a resetwarnings() call, so need to add back these filters.
  • Loading branch information...
commit 9f1b8721dc2e1b69112fa5b94b3a70b37661cc84 1 parent 067b5f8
@rgommers rgommers authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  numpy/testing/nosetester.py
View
2  numpy/testing/nosetester.py
@@ -365,6 +365,8 @@ def test(self, label='fast', verbose=1, extra_argv=None,
warnings.filterwarnings('error', category=warningtype)
# Filter out annoying import messages.
warnings.filterwarnings('ignore', message='Not importing directory')
+ warnings.filterwarnings("ignore", message="numpy.dtype size changed")
+ warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
try:
from noseclasses import NumpyTestProgram
Please sign in to comment.
Something went wrong with that request. Please try again.