Skip to content

Commit 00c8ccb

Browse files
committed
Skip test on Windows.
1 parent 7b84abd commit 00c8ccb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_interpreters/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2365,6 +2365,7 @@ def test_set___main___attrs(self):
23652365
self.assertEqual(rc, 0)
23662366

23672367
@support.requires_subprocess()
2368+
@unittest.skipIf(os.name == 'nt', 'SIGINT not supported on windows')
23682369
def test_interpreter_handles_signals(self):
23692370
import subprocess
23702371
import sys
@@ -2395,6 +2396,7 @@ def test_interpreter_handles_signals(self):
23952396
self.assertIn(b"KeyboardInterrupt", stderr)
23962397

23972398
@support.requires_subprocess()
2399+
@unittest.skipIf(os.name == 'nt', 'SIGINT not supported on windows')
23982400
def test_legacy_interpreter_does_not_handle_signals(self):
23992401
import subprocess
24002402
import sys

0 commit comments

Comments
 (0)