1[pytest]
2minversion = 3.1
3norecursedirs = test_* extra_*
4xfail_strict = True
5addopts =
6    # show summary of skipped tests
7    -rs
8    # capture only Python print and C++ py::print, but not C output (low-level Python errors)
9    --capture=sys
10filterwarnings =
11    # make warnings into errors but ignore certain third-party extension issues
12    error
13    # somehow, some DeprecationWarnings do not get turned into errors
14    always::DeprecationWarning
15    # importing scipy submodules on some version of Python
16    ignore::ImportWarning
17    # bogus numpy ABI warning (see numpy/#432)
18    ignore:.*numpy.dtype size changed.*:RuntimeWarning
19    ignore:.*numpy.ufunc size changed.*:RuntimeWarning
20