nextpnr/3rdparty/pybind11/tests/pytest.ini

20 lines
626 B
INI
Raw Normal View History

2020-07-23 14:58:19 +08:00
[pytest]
2021-01-02 17:15:39 +08:00
minversion = 3.1
norecursedirs = test_* extra_*
xfail_strict = True
2020-07-23 14:58:19 +08:00
addopts =
# show summary of skipped tests
-rs
# capture only Python print and C++ py::print, but not C output (low-level Python errors)
--capture=sys
2021-01-02 17:15:39 +08:00
# enable all warnings
-Wa
2020-07-23 14:58:19 +08:00
filterwarnings =
# make warnings into errors but ignore certain third-party extension issues
error
# 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