mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Follow up https://github.com/pytorch/pytorch/pull/112146 and #112141 : make numpy/lib vendored tests dynamo traceable Pull Request resolved: https://github.com/pytorch/pytorch/pull/112147 Approved by: https://github.com/lezcano
18 lines
520 B
INI
18 lines
520 B
INI
[pytest]
|
|
addopts =
|
|
# show summary of all tests that did not pass
|
|
-rEfX
|
|
# Make tracebacks shorter
|
|
--tb=native
|
|
# capture only Python print and C++ py::print, but not C output (low-level Python errors)
|
|
--capture=sys
|
|
# don't suppress warnings, but don't shove them all to the end either
|
|
-p no:warnings
|
|
testpaths =
|
|
test
|
|
junit_logging_reruns = all
|
|
filterwarnings =
|
|
ignore:Module already imported so cannot be rewritten.*hypothesis:pytest.PytestAssertRewriteWarning
|
|
|
|
xfail_strict = True
|