Skip to content

Commit 4e9f18d

Browse files
committed
Enabled uvloop to be used in the test suite on Python 3.13
The pre-release version now works properly on 3.13.
1 parent 7de6441 commit 4e9f18d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ test = [
5353
"pytest-mock >= 3.6.1",
5454
"trustme",
5555
"""\
56-
uvloop >= 0.17; platform_python_implementation == 'CPython' \
57-
and platform_system != 'Windows' and python_version < '3.13'\
56+
uvloop >= 0.21.0b1; platform_python_implementation == 'CPython' \
57+
and platform_system != 'Windows'\
5858
"""
5959
]
6060
doc = [

tests/test_subprocesses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,9 @@ async def test_py39_arguments(
285285
[sys.executable, "-c", "print('hello')"],
286286
**{argname: argvalue_factory()},
287287
)
288-
except TypeError as exc:
288+
except ValueError as exc:
289289
if (
290-
"unexpected keyword argument" in str(exc)
290+
"unexpected kwargs" in str(exc)
291291
and anyio_backend_name == "asyncio"
292292
and anyio_backend_options["loop_factory"]
293293
and anyio_backend_options["loop_factory"].__module__ == "uvloop"

0 commit comments

Comments
 (0)