2021-03-08 14:54:22 +00:00
|
|
|
[pytest]
|
2023-04-18 16:11:43 +00:00
|
|
|
minversion = 3.1
|
2021-03-08 14:54:22 +00:00
|
|
|
norecursedirs = test_* extra_*
|
|
|
|
xfail_strict = True
|
|
|
|
addopts =
|
2023-04-18 16:11:43 +00:00
|
|
|
# show summary of skipped tests
|
|
|
|
-rs
|
2021-03-08 14:54:22 +00:00
|
|
|
# capture only Python print and C++ py::print, but not C output (low-level Python errors)
|
|
|
|
--capture=sys
|
|
|
|
filterwarnings =
|
|
|
|
# make warnings into errors but ignore certain third-party extension issues
|
|
|
|
error
|
|
|
|
# somehow, some DeprecationWarnings do not get turned into errors
|
|
|
|
always::DeprecationWarning
|
|
|
|
# importing scipy submodules on some version of Python
|
|
|
|
ignore::ImportWarning
|
|
|
|
# bogus numpy ABI warning (see numpy/#432)
|
|
|
|
ignore:.*numpy.dtype size changed.*:RuntimeWarning
|
|
|
|
ignore:.*numpy.ufunc size changed.*:RuntimeWarning
|