Skip to content

Commit 46f86f5

Browse files
[3.12] gh-110017: Disable test_signal.test_stress_modifying_handlers on macOS (GH-112834) (#112851)
gh-110017: Disable test_signal.test_stress_modifying_handlers on macOS (GH-112834) Test test_stress_modifying_handlers in test_signal can crash the interpreter due to a bug in macOS. Filed as FB13453490 with Apple. (cherry picked from commit bf0beae) Co-authored-by: Ronald Oussoren <[email protected]>
1 parent 8b58d12 commit 46f86f5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Lib/test/test_signal.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,6 +1318,7 @@ def handler(signum, frame):
13181318
# Python handler
13191319
self.assertEqual(len(sigs), N, "Some signals were lost")
13201320

1321+
@unittest.skipIf(sys.platform == "darwin", "crashes due to system bug (FB13453490)")
13211322
@unittest.skipUnless(hasattr(signal, "SIGUSR1"),
13221323
"test needs SIGUSR1")
13231324
@threading_helper.requires_working_threading()
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Disable a signal handling stress test on macOS due to a bug in macOS
2+
(FB13453490).

0 commit comments

Comments
 (0)