Reduce warning suppression by just disabling pytest warnings plugin (#86255)

Fixes https://github.com/pytorch/pytorch/issues/85626

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/86255
Approved by: https://github.com/lezcano, https://github.com/albanD
This commit is contained in:
Edward Z. Yang
2022-10-04 23:08:51 -04:00
committed by PyTorch MergeBot
parent adf5919720
commit ea21a982f2

View File

@ -6,7 +6,8 @@ addopts =
--tb=native
# capture only Python print and C++ py::print, but not C output (low-level Python errors)
--capture=sys
--disable-warnings
# don't suppress warnings, but don't shove them all to the end either
-p no:warnings
testpaths =
test
junit_logging_reruns = all