8000 skip bad test · python/cpython@8f97ae2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f97ae2

Browse files
skip bad test
1 parent 2eda2f9 commit 8f97ae2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Lib/test/test_signal.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@
1414
import unittest
1515
from test import support
1616
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,
1823
)
1924
from test.support.script_helper import assert_python_ok, spawn_python
2025
try:
@@ -1345,6 +1350,7 @@ def handler(signum, frame):
13451350
# Python handler
13461351
self.assertEqual(len(sigs), N, "Some signals were lost")
13471352

1353+
@unittest.skipIf(Py_DEBUG and Py_GIL_DISABLED, "free-threaded builds take up slightly more stack")
13481354
@unittest.skipIf(is_apple, "crashes due to system bug (FB13453490)")
13491355
@unittest.skipUnless(hasattr(signal, "SIGUSR1"),
13501356
"test needs SIGUSR1")

0 commit comments

Comments
 (0)
0