pytest.ini 693 B

12345678910111213141516171819
  1. [pytest]
  2. minversion = 3.1
  3. norecursedirs = test_* extra_*
  4. xfail_strict = True
  5. addopts =
  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
  10. filterwarnings =
  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