Skip to content

Commit 3ea5c85

Browse files
authored
test: skip flaky test_cancel_post_init on AIO 3.13+ (#714)
1 parent b93141a commit 3ea5c85

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/test_process.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,12 @@ async def cancel_make_transport():
685685
self.loop.run_until_complete(cancel_make_transport())
686686

687687
def test_cancel_post_init(self):
688+
if sys.version_info >= (3, 13) and self.implementation == 'asyncio':
689+
# https://github.com/python/cpython/issues/103847#issuecomment-3736561321
690+
# This test started to flake on CPython 3.13 and later,
691+
# so we skip it for asyncio tests until the issue is resolved.
692+
self.skipTest('flaky test on CPython 3.13+')
693+
688694
async def cancel_make_transport():
689695
coro = self.loop.subprocess_exec(asyncio.SubprocessProtocol,
690696
*self.PROGRAM_BLOCKED)

0 commit comments

Comments
 (0)