Skip to content

Commit fdaa24d

Browse files
committed
Reapply "Suppress pytest.PytestUnraisableExceptionWarning raised in test cleanup"
This reverts commit efda9c7.
1 parent efda9c7 commit fdaa24d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pytest.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ filterwarnings =
6565
ignore:unclosed <socket.socket fd=:ResourceWarning
6666
ignore:unclosed <ssl.SSLSocket fd=:ResourceWarning
6767

68+
# FIXME: Python 3.13 no longer ignores IOBase errors raised by the close(),
69+
# FIXME: which exposed a possible race condition in test_conn test cleanup.
70+
# Ref: https://github.com/cherrypy/cheroot/issues/734
71+
ignore:Exception ignored in. <function IOBase.__del__:pytest.PytestUnraisableExceptionWarning
72+
6873
junit_duration_report = call
6974
junit_family = xunit2
7075
junit_suite_name = cheroot_test_suite

0 commit comments

Comments
 (0)