Skip to content

Commit 65dee6c

Browse files
authored
Skip flaky asyncio tests (#8075)
* Skip flaky test on windows * Skip another flaky test
1 parent 27fbe24 commit 65dee6c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_asyncio/test_events.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,7 @@ def test_create_connection_local_addr(self):
791791
self.assertEqual(port, expected)
792792
tr.close()
793793

794+
@unittest.skipIf(sys.platform == "linux", "TODO: Flaky on CI")
794795
@socket_helper.skip_if_tcp_blackhole
795796
def test_create_connection_local_addr_skip_different_family(self):
796797
# See https://github.com/python/cpython/issues/86508

Lib/test/test_asyncio/test_subprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ def kill():
628628
self.assertTrue(killed)
629629
test_utils.run_briefly(self.loop)
630630

631+
@unittest.skipIf(sys.platform == "win32", "TODO: RUSTPYTHON; Flaky on CI")
631632
def test_close_dont_kill_finished(self):
632633

633634
async def kill_running():

0 commit comments

Comments
 (0)