Skip to content

Commit

Permalink
Silence leak warning on 3.13
Browse files Browse the repository at this point in the history
De-silence everything older.
  • Loading branch information
hynek committed Oct 9, 2024
1 parent 43351f3 commit 879500b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,8 @@ addopts = ["-ra", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = [
"once::Warning",
"ignore:'cgi' is deprecated:DeprecationWarning:webob.compat:",
"ignore:Deprecated call to `pkg_resources.declare_namespace:DeprecationWarning:pkg_resources:",
"ignore:pkg_resources is deprecated:DeprecationWarning:pyramid.asset:",
# Silence warning that we're testing for but can't capture..
"ignore: coroutine method 'aclose' of 'TestFlask.test_teardown_warns_on_async_on_close.*:RuntimeWarning:",
# Bug in Starlette 0.37.2: https://github.com/encode/starlette/discussions/2603
"ignore:Unclosed <MemoryObject(Send|Receive)Stream>:ResourceWarning:anyio.streams.memory",
]
Expand Down

0 comments on commit 879500b

Please sign in to comment.