diff options
Diffstat (limited to 'pytest.ini')
-rw-r--r-- | pytest.ini | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/pytest.ini b/pytest.ini index d3d7142d4..e901beb8c 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,9 +1,21 @@ [pytest] +addopts = -l -q norecursedirs = doc tools numpy/linalg/lapack_lite numpy/core/code_generators doctest_optionflags = NORMALIZE_WHITESPACE -testpaths = numpy +filterwarnings = + error +# Filter out annoying import messages. + ignore:Not importing directory + ignore:numpy.dtype size changed + ignore:numpy.ufunc size changed +# Ignore python2.7 -3 warnings + ignore:sys\.exc_clear\(\) not supported in 3\.x:DeprecationWarning + ignore:in 3\.x, __setslice__:DeprecationWarning + ignore:in 3\.x, __getslice__:DeprecationWarning + ignore:buffer\(\) not supported in 3\.x:DeprecationWarning + ignore:CObject type is not supported in 3\.x:DeprecationWarning + ignore:comparing unequal types not supported in 3\.x:DeprecationWarning + ignore:the commands module has been removed in Python 3\.0:DeprecationWarning env = PYTHONHASHSEED=0 - -# addopts = --doctest-modules --ignore=numpy/f2py/__main__.py --ignore=numpy/core/cversions.py --ignore=numpy/ma/core.py --ignore=numpy/ma/version.py --ignore=numpy/testing/utils.py --ignore=numpy/testing/decorators.py |