Skip to content

Commit 0731b22

Browse files
committed
test: mark Python 3.14+ get/set_event_loop_policy deprecations known
pytest-dev/pytest-asyncio#1025
1 parent 17f283f commit 0731b22

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: noxfile.py

+10
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ def test(session: nox.Session) -> None:
1717
"DeprecationWarning:pytest_asyncio.plugin"
1818
),
1919
"-W",
20+
( # https://github.com/pytest-dev/pytest-asyncio/issues/1025
21+
r"default:'asyncio.get_event_loop_policy':"
22+
"DeprecationWarning:pytest_asyncio.plugin"
23+
),
24+
"-W",
25+
( # https://github.com/pytest-dev/pytest-asyncio/issues/1025
26+
r"default:'asyncio.set_event_loop_policy':"
27+
"DeprecationWarning:pytest_asyncio.plugin"
28+
),
29+
"-W",
2030
( # https://github.com/aio-libs/aiohttp/pull/7302, included in aiohttp >= 3.9
2131
"default:datetime.datetime.utcfromtimestamp:"
2232
"DeprecationWarning:aiohttp.cookiejar"

0 commit comments

Comments
 (0)