File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 14
14
import unittest
15
15
from test import support
16
16
from test .support import (
17
- is_apple , is_apple_mobile , os_helper , threading_helper
17
+ is_apple ,
18
+ is_apple_mobile ,
19
+ os_helper ,
20
+ threading_helper ,
21
+ Py_DEBUG ,
22
+ Py_GIL_DISABLED ,
18
23
)
19
24
from test .support .script_helper import assert_python_ok , spawn_python
20
25
try :
@@ -1345,6 +1350,7 @@ def handler(signum, frame):
1345
1350
# Python handler
1346
1351
self .assertEqual (len (sigs ), N , "Some signals were lost" )
1347
1352
1353
+ @unittest .skipIf (Py_DEBUG and Py_GIL_DISABLED , "free-threaded builds take up slightly more stack" )
1348
1354
@unittest .skipIf (is_apple , "crashes due to system bug (FB13453490)" )
1349
1355
@unittest .skipUnless (hasattr (signal , "SIGUSR1" ),
1350
1356
"test needs SIGUSR1" )
You can’t perform that action at this time.
0 commit comments