Skip to content

Commit

Permalink
[3.11] gh-110017: Disable test_signal.test_stress_modifying_handlers …
Browse files Browse the repository at this point in the history
…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 <ronaldoussoren@mac.com>
  • Loading branch information
miss-islington and ronaldoussoren committed Dec 8, 2023
1 parent cda1695 commit 1eac0aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Lib/test/test_signal.py
Expand Up @@ -1326,6 +1326,7 @@ def handler(signum, frame):
# Python handler
self.assertEqual(len(sigs), N, "Some signals were lost")

@unittest.skipIf(sys.platform == "darwin", "crashes due to system bug (FB13453490)")
@unittest.skipUnless(hasattr(signal, "SIGUSR1"),
"test needs SIGUSR1")
@threading_helper.requires_working_threading()
Expand Down
@@ -0,0 +1,2 @@
Disable a signal handling stress test on macOS due to a bug in macOS
(FB13453490).

0 comments on commit 1eac0aa

Please sign in to comment.