@@ -340,6 +340,7 @@ def test_set_executable(self):
340340 p .join ()
341341 self .assertEqual (p .exitcode , 0 )
342342
343+ @unittest .skipIf (sys .platform == "linux" , "TODO: RUSTPYTHON; flaky on CI" )
343344 @support .requires_resource ('cpu' )
344345 def test_args_argument (self ):
345346 # bpo-45735: Using list or tuple as *args* in constructor could
@@ -445,6 +446,7 @@ def _test_report_parent_status(cls, wconn):
445446 parent_process ().join (timeout = support .SHORT_TIMEOUT )
446447 wconn .send ("alive" if parent_process ().is_alive () else "not alive" )
447448
449+ @unittest .skipIf (sys .platform == "linux" , "TODO: RUSTPYTHON; flaky on CI" )
448450 def test_process (self ):
449451 q = self .Queue (1 )
450452 e = self .Event ()
@@ -1394,6 +1396,7 @@ def _acquire_event(lock, event):
13941396 event .set ()
13951397 time .sleep (1.0 )
13961398
1399+ @unittest .skipIf (sys .platform == "linux" , "TODO: RUSTPYTHON; flaky on CI" )
13971400 def test_repr_lock (self ):
13981401 if self .TYPE != 'processes' :
13991402 self .skipTest ('test not appropriate for {}' .format (self .TYPE ))
@@ -2972,8 +2975,7 @@ def test_map_no_failfast(self):
29722975 # check that we indeed waited for all jobs
29732976 self .assertGreater (time .monotonic () - t_start , 0.9 )
29742977
2975- # TODO: RUSTPYTHON - reference counting differences
2976- @unittest .skip ("TODO: RUSTPYTHON" )
2978+ @unittest .skip ("TODO: RUSTPYTHON; reference counting differences" )
29772979 def test_release_task_refs (self ):
29782980 # Issue #29861: task arguments and results should not be kept
29792981 # alive after we are done with them.
@@ -3303,6 +3305,7 @@ def _putter(cls, address, authkey):
33033305 queue = manager .get_queue ()
33043306 queue .put ('hello world' )
33053307
3308+ @unittest .skipIf (sys .platform == "linux" , "TODO: RUSTPYTHON; flaky on CI" )
33063309 def test_rapid_restart (self ):
33073310 authkey = os .urandom (32 )
33083311 manager = QueueManager (
@@ -3886,8 +3889,7 @@ def _remote(cls, conn):
38863889
38873890 conn .close ()
38883891
3889- # TODO: RUSTPYTHON - hangs
3890- @unittest .skip ("TODO: RUSTPYTHON" )
3892+ @unittest .skip ("TODO: RUSTPYTHON; hangs" )
38913893 def test_pickling (self ):
38923894 families = self .connection .families
38933895
@@ -4463,6 +4465,7 @@ def test_shared_memory_SharedMemoryManager_reuses_resource_tracker(self):
44634465 # properly released sl.
44644466 self .assertFalse (err )
44654467
4468+ @unittest .skipIf (sys .platform == "linux" , "TODO: RUSTPYTHON; flaky on CI" )
44664469 def test_shared_memory_SharedMemoryManager_basics (self ):
44674470 smm1 = multiprocessing .managers .SharedMemoryManager ()
44684471 with self .assertRaises (ValueError ):
@@ -4815,8 +4818,8 @@ def test_finalize(self):
48154818 result = [obj for obj in iter (conn .recv , 'STOP' )]
48164819 self .assertEqual (result , ['a' , 'b' , 'd10' , 'd03' , 'd02' , 'd01' , 'e' ])
48174820
4818- # TODO: RUSTPYTHON - gc.get_threshold() and gc.set_threshold() not implemented
4819- @unittest .expectedFailure
4821+ @ unittest . skipIf ( sys . platform == "linux" , " TODO: RUSTPYTHON; flaky on CI" )
4822+ @unittest .expectedFailure # TODO: RUSTPYTHON; gc.get_threshold() and gc.set_threshold() not implemented
48204823 @support .requires_resource ('cpu' )
48214824 def test_thread_safety (self ):
48224825 # bpo-24484: _run_finalizers() should be thread-safe
0 commit comments