1[pytest] 2addopts = 3 # show summary of all tests that did not pass 4 -rEfX 5 # Make tracebacks shorter 6 --tb=native 7 # capture only Python print and C++ py::print, but not C output (low-level Python errors) 8 --capture=sys 9 # don't suppress warnings, but don't shove them all to the end either 10 -p no:warnings 11 # Use custom pytest shard located in test/pytest_shard_custom.py instead 12 -p no:pytest-shard 13 # don't rewrite assertions (usually not a problem in CI due to differences in imports, see #95844) 14 --assert=plain 15testpaths = 16 test 17junit_logging_reruns = all 18filterwarnings = 19 ignore:Module already imported so cannot be rewritten.*hypothesis:pytest.PytestAssertRewriteWarning 20 21xfail_strict = True 22 23markers = 24 serial: marks tests as needs to be run serially (deselect with '-m "not serial"') 25