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

23 lines
768 B
INI
Raw Permalink Normal View History

2020-07-23 14:58:19 +08:00
[pytest]
minversion = 3.10
2021-01-02 17:15:39 +08:00
norecursedirs = test_* extra_*
xfail_strict = True
2020-07-23 14:58:19 +08:00
addopts =
# show summary of tests
-ra
2020-07-23 14:58:19 +08:00
# capture only Python print and C++ py::print, but not C output (low-level Python errors)
--capture=sys
# Show local info when a failure occurs
--showlocals
log_cli_level = info
2020-07-23 14:58:19 +08:00
filterwarnings =
# make warnings into errors but ignore certain third-party extension issues
error
# somehow, some DeprecationWarnings do not get turned into errors
always::DeprecationWarning
2020-07-23 14:58:19 +08:00
# 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