Skip to content

Commit d3ba6b4

Browse files
committed
fix
1 parent a1f0aff commit d3ba6b4

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Lib/test/test_concurrent_futures/test_shutdown.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,11 @@ def test_cancel_futures_wait_false(self):
255255

256256

257257
class ProcessPoolShutdownTest(ExecutorShutdownTest):
258+
# TODO: RUSTPYTHON - flaky, dict changed size during iteration race condition
259+
@unittest.skip("TODO: RUSTPYTHON - flaky race condition on macOS")
260+
def test_cancel_futures(self):
261+
return super().test_cancel_futures()
262+
258263
def test_processes_terminate(self):
259264
def acquire_lock(lock):
260265
lock.acquire()

Lib/test/test_threading.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,6 +1475,8 @@ def thread1():
14751475
self.assertEqual(out.strip(), b"OK")
14761476
self.assertEqual(rc, 0)
14771477

1478+
# TODO: RUSTPYTHON - parking_lot mutex not fork-safe, child may SIGSEGV
1479+
@unittest.skip("TODO: RUSTPYTHON - flaky, parking_lot mutex not fork-safe")
14781480
@skip_unless_reliable_fork
14791481
def test_reinit_tls_after_fork(self):
14801482
# Issue #13817: fork() would deadlock in a multithreaded program with

0 commit comments

Comments
 (0)