mirror of https://github.com/python/cpython.git
[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 bf0beae6a0
)
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
This commit is contained in:
parent
cda1695799
commit
1eac0aab85
|
@ -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()
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
Disable a signal handling stress test on macOS due to a bug in macOS
|
||||
(FB13453490).
|
Loading…
Reference in New Issue