File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ def task():
150150 support .gc_collect () # For PyPy or other GCs.
151151 self .assertEqual (thread ._count (), orig )
152152
153+ @unittest .expectedFailure # TODO: RUSTPYTHON
153154 def test_unraisable_exception (self ):
154155 def task ():
155156 started .release ()
@@ -322,7 +323,7 @@ def test_set_done_unstarted(self):
322323 with self .assertRaisesRegex (RuntimeError , "thread not started" ):
323324 handle ._set_done ()
324325
325- @unittest .skip ( "TODO: RUSTPYTHON; panic" )
326+ @unittest .skipIf ( __import__ ( "sys" ). platform == "linux" , "TODO: RUSTPYTHON; panic" )
326327 def test_start_duplicate_handle (self ):
327328 lock = thread .allocate_lock ()
328329 lock .acquire ()
@@ -338,6 +339,7 @@ def func():
338339 lock .release ()
339340 handle .join ()
340341
342+ @unittest .skipIf (__import__ ("sys" ).platform == "linux" , "TODO: RUSTPYTHON; panic" )
341343 def test_start_with_none_handle (self ):
342344 def func ():
343345 pass
You can’t perform that action at this time.
0 commit comments