File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -1382,8 +1382,6 @@ def test__all__(self):
1382
1382
1383
1383
1384
1384
class InterruptMainTests (unittest .TestCase ):
1385
- # TODO: RUSTPYTHON
1386
- @unittest .expectedFailure
1387
1385
def test_interrupt_main_subthread (self ):
1388
1386
# Calling start_new_thread with a function that executes interrupt_main
1389
1387
# should raise KeyboardInterrupt upon completion.
@@ -1395,16 +1393,12 @@ def call_interrupt():
1395
1393
t .join ()
1396
1394
t .join ()
1397
1395
1398
- # TODO: RUSTPYTHON
1399
- @unittest .expectedFailure
1400
1396
def test_interrupt_main_mainthread (self ):
1401
1397
# Make sure that if interrupt_main is called in main thread that
1402
1398
# KeyboardInterrupt is raised instantly.
1403
1399
with self .assertRaises (KeyboardInterrupt ):
1404
1400
_thread .interrupt_main ()
1405
1401
1406
- # TODO: RUSTPYTHON
1407
- @unittest .expectedFailure
1408
1402
def test_interrupt_main_noerror (self ):
1409
1403
handler = signal .getsignal (signal .SIGINT )
1410
1404
try :
You can’t perform that action at this time.
0 commit comments