diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 00000000000..c72e4ec8e8d --- /dev/null +++ b/pytest.ini @@ -0,0 +1,12 @@ +[pytest] +addopts = + # show summary of all tests that did not pass + -ra + # Make tracebacks shorter + --tb=native + # capture only Python print and C++ py::print, but not C output (low-level Python errors) + --capture=sys + # enable all warnings + -Wd +testpaths = + test