Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress pytest.PytestUnraisableExceptionWarning raised in test cleanup #735

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading