forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make pytest ending output less chatty (pytorch#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: pytorch#82262 Approved by: https://github.com/clee2000
- Loading branch information
1 parent
98b9dfa
commit 677908e
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters