Skip to content

Commit

Permalink
test: mark Python 3.14+ get/set_event_loop_policy deprecations known
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Dec 29, 2024
1 parent 17f283f commit 0731b22
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ def test(session: nox.Session) -> None:
"DeprecationWarning:pytest_asyncio.plugin"
),
"-W",
( # https://github.com/pytest-dev/pytest-asyncio/issues/1025
r"default:'asyncio.get_event_loop_policy':"
"DeprecationWarning:pytest_asyncio.plugin"
),
"-W",
( # https://github.com/pytest-dev/pytest-asyncio/issues/1025
r"default:'asyncio.set_event_loop_policy':"
"DeprecationWarning:pytest_asyncio.plugin"
),
"-W",
( # https://github.com/aio-libs/aiohttp/pull/7302, included in aiohttp >= 3.9
"default:datetime.datetime.utcfromtimestamp:"
"DeprecationWarning:aiohttp.cookiejar"
Expand Down

0 comments on commit 0731b22

Please sign in to comment.