Skip to content

Commit

Permalink
Suppress pytest.PytestUnraisableExceptionWarning raised in test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kulikjak committed Nov 7, 2024
1 parent 1ff20b1 commit f526ad8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ filterwarnings =
ignore:unclosed <socket.socket fd=:ResourceWarning
ignore:unclosed <ssl.SSLSocket fd=:ResourceWarning

# FIXME: Python 3.13 no longer ignores IOBase errors raised by the close(),
# FIXME: which exposed a possible race condition in test_conn test cleanup.
# Ref: https://github.com/cherrypy/cheroot/issues/734
ignore:Exception ignored in. <function IOBase.__del__:pytest.PytestUnraisableExceptionWarning

junit_duration_report = call
junit_family = xunit2
junit_suite_name = cheroot_test_suite
Expand Down

0 comments on commit f526ad8

Please sign in to comment.