Files
pytorch/pytest.ini
PyTorch MergeBot 4a94f77c8e Revert "Make numpy/lib vendored tests dynamo traceable (#112147)"
This reverts commit 190b6e4ba88f6cf00d0bd08d6212a3fe6bb76eaa.

Reverted https://github.com/pytorch/pytorch/pull/112147 on behalf of https://github.com/huydhn due to Sorry for reverting this again, but this is failing in trunk 190b6e4ba8 ([comment](https://github.com/pytorch/pytorch/pull/112147#issuecomment-1782056995))
2023-10-26 23:23:49 +00:00

16 lines
499 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