Skip to content

Commit ea21a98

Browse files
ezyangpytorchmergebot
authored andcommitted
Reduce warning suppression by just disabling pytest warnings plugin (pytorch#86255)
Fixes pytorch#85626 Signed-off-by: Edward Z. Yang <[email protected]> Pull Request resolved: pytorch#86255 Approved by: https://github.com/lezcano, https://github.com/albanD
1 parent adf5919 commit ea21a98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytest.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ addopts =
66
--tb=native
77
# capture only Python print and C++ py::print, but not C output (low-level Python errors)
88
--capture=sys
9-
--disable-warnings
9+
# don't suppress warnings, but don't shove them all to the end either
10+
-p no:warnings
1011
testpaths =
1112
test
1213
junit_logging_reruns = all

0 commit comments

Comments
 (0)