@@ -685,7 +685,6 @@ def background_thread(evt):
685685 self .assertEqual (out , b'' )
686686 self .assertEqual (err , b'' )
687687
688- @unittest .skip ("TODO: RUSTPYTHON; flaky" )
689688 @skip_unless_reliable_fork
690689 def test_is_alive_after_fork (self ):
691690 # Try hard to trigger #18418: is_alive() could sometimes be True on
@@ -749,7 +748,6 @@ def test_main_thread_after_fork(self):
749748 "main ident True\n "
750749 "current is main True\n " )
751750
752- @unittest .skip ("TODO: RUSTPYTHON; flaky; process timeout after fork" )
753751 @skip_unless_reliable_fork
754752 @unittest .skipUnless (hasattr (os , 'waitpid' ), "test needs os.waitpid()" )
755753 def test_main_thread_after_fork_from_nonmain_thread (self ):
@@ -1470,7 +1468,6 @@ def test_2_join_in_forked_process(self):
14701468 """
14711469 self ._run_and_join (script )
14721470
1473- @unittest .skip ("TODO: RUSTPYTHON; flaky test" )
14741471 @skip_unless_reliable_fork
14751472 def test_3_join_in_forked_from_thread (self ):
14761473 # Like the test above, but fork() was called from a worker thread
@@ -1852,7 +1849,6 @@ def test_releasing_unacquired_lock(self):
18521849 lock = threading .Lock ()
18531850 self .assertRaises (RuntimeError , lock .release )
18541851
1855- @unittest .skip ("TODO: RUSTPYTHON; flaky test" )
18561852 @requires_subprocess ()
18571853 def test_recursion_limit (self ):
18581854 # Issue 9670
@@ -2236,10 +2232,6 @@ def __init__(self, a, *, b) -> None:
22362232 CustomRLock (1 , b = 2 )
22372233 self .assertEqual (warnings_log , [])
22382234
2239- @unittest .skip ("TODO: RUSTPYTHON; flaky test" )
2240- def test_different_thread (self ):
2241- return super ().test_different_thread ()
2242-
22432235class EventTests (lock_tests .EventTests ):
22442236 eventtype = staticmethod (threading .Event )
22452237
@@ -2250,10 +2242,6 @@ class ConditionAsRLockTests(lock_tests.RLockTests):
22502242 def test_recursion_count (self ):
22512243 self .skipTest ("Condition does not expose _recursion_count()" )
22522244
2253- @unittest .skip ("TODO: RUSTPYTHON; flaky test" )
2254- def test_different_thread (self ):
2255- return super ().test_different_thread ()
2256-
22572245class ConditionTests (lock_tests .ConditionTests ):
22582246 condtype = staticmethod (threading .Condition )
22592247
@@ -2413,7 +2401,6 @@ def check_interrupt_main_noerror(self, signum):
24132401 # Restore original handler
24142402 signal .signal (signum , handler )
24152403
2416- @unittest .skip ("TODO: RUSTPYTHON; flaky" )
24172404 @requires_gil_enabled ("gh-118433: Flaky due to a longstanding bug" )
24182405 def test_interrupt_main_subthread (self ):
24192406 # Calling start_new_thread with a function that executes interrupt_main
0 commit comments