diff --git a/CHANGES/6872.misc b/CHANGES/6872.misc new file mode 100644 index 00000000000..6cb08c89518 --- /dev/null +++ b/CHANGES/6872.misc @@ -0,0 +1 @@ +Fixed suppression of :py:class:`ResourceWarning`s in the pytest setup -- by :user:`graingert`. diff --git a/setup.cfg b/setup.cfg index 6a8649ada69..f5918ff6a28 100644 --- a/setup.cfg +++ b/setup.cfg @@ -132,11 +132,11 @@ addopts = filterwarnings = error ignore:module 'ssl' has no attribute 'OP_NO_COMPRESSION'. The Python interpreter is compiled against OpenSSL < 1.0.0. Ref. https.//docs.python.org/3/library/ssl.html#ssl.OP_NO_COMPRESSION:UserWarning - ignore:Exception ignored in. :pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception + ignore:unclosed transport