mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
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:
committed by
PyTorch MergeBot
parent
98b9dfa129
commit
677908e9e7
@ -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
|
||||
|
Reference in New Issue
Block a user