Skip to content

Commit

Permalink
Merge PR #6872
Browse files Browse the repository at this point in the history
This change updates the pytest configuration to defeat the
unintentional resource leaks caused by an incorrect method of
suppressing the `PytestUnraisableExceptionWarning`s.

Contributed by Thomas Grainger.

(cherry picked from commit 799dc87)
  • Loading branch information
webknjaz committed Sep 10, 2022
1 parent 461c98c commit 89a4937
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ filterwarnings =
ignore:coroutine 'ClientSession._request' was never awaited:RuntimeWarning
ignore:Unclosed client session <aiohttp.client.ClientSession object at 0x:ResourceWarning
ignore:unclosed file <_io.FileIO.*:ResourceWarning
# Temporarily ignore warnings internal to Python 3.9.7, can be removed again in 3.9.8.
ignore:The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.:DeprecationWarning:asyncio
ignore:The loop argument is deprecated:DeprecationWarning:asyncio
ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning::
# The following deprecation warning is triggered by importing
# `gunicorn.util`. Hopefully, it'll get fixed in the future. See
Expand Down

0 comments on commit 89a4937

Please sign in to comment.