Skip to content

Commit 1eac0aa

Browse files
[3.11] gh-110017: Disable test_signal.test_stress_modifying_handlers on macOS (GH-112834) (#112852)
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 cda1695 commit 1eac0aa

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
@@ -1326,6 +1326,7 @@ def handler(signum, frame):
13261326
# Python handler
13271327
self.assertEqual(len(sigs), N, "Some signals were lost")
13281328

1329+
@unittest.skipIf(sys.platform == "darwin", "crashes due to system bug (FB13453490)")
13291330
@unittest.skipUnless(hasattr(signal, "SIGUSR1"),
13301331
"test needs SIGUSR1")
13311332
@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)