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
This commit is contained in:
Edward Z. Yang
2022-07-27 19:43:30 +00:00
committed by PyTorch MergeBot
parent 98b9dfa129
commit 677908e9e7
2 changed files with 6 additions and 4 deletions

View File

@ -1,13 +1,12 @@
[pytest]
addopts =
# show summary of all tests that did not pass
-ra
-rEfX
# 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
--disable-warnings
testpaths =
test
junit_logging_reruns = all