Files
pytorch/pytest.ini
Edward Z. Yang 677908e9e7 Make pytest ending output less chatty (#82262)
If you still want this in CI, we should have a separate CI only
configuration.  The current config is pretty unfriendly for local
development.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/82262
Approved by: https://github.com/clee2000
2022-07-28 04:21:43 +00:00

13 lines
308 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
--disable-warnings
testpaths =
test
junit_logging_reruns = all