Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,12 @@ async def cancel_make_transport():
self.loop.run_until_complete(cancel_make_transport())

def test_cancel_post_init(self):
if sys.version_info >= (3, 13) and self.implementation == 'asyncio':
# https://github.com/python/cpython/issues/103847#issuecomment-3736561321
# This test started to flake on CPython 3.13 and later,
# so we skip it for asyncio tests until the issue is resolved.
self.skipTest('flaky test on CPython 3.13+')

async def cancel_make_transport():
coro = self.loop.subprocess_exec(asyncio.SubprocessProtocol,
*self.PROGRAM_BLOCKED)
Expand Down
Loading