Skip to content

Commit

Permalink
pythongh-110017: Disable test_signal.test_stress_modifying_handlers o…
Browse files Browse the repository at this point in the history
…n macOS (python#112834)

Test test_stress_modifying_handlers in test_signal can crash
the interpreter due to a bug in macOS. Filed as FB13453490
with Apple.
  • Loading branch information
ronaldoussoren authored Dec 7, 2023
1 parent a955fd6 commit bf0beae
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
Original file line number Diff line number Diff line change
Expand Up @@ -1318,6 +1318,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
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Disable a signal handling stress test on macOS due to a bug in macOS
(FB13453490).

0 comments on commit bf0beae

Please sign in to comment.