summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2023-12-07 18:41:27 (GMT)
committerGitHub <noreply@github.com>2023-12-07 18:41:27 (GMT)
commitbf0beae6a05f3266606a21e22a4d803abbb8d731 (patch)
treec891868251e39c66e58495d9a26454ad89122bc8
parenta955fd68d6451bd42199110c978e99b3d2959db2 (diff)
downloadcpython-bf0beae6a05f3266606a21e22a4d803abbb8d731.zip
cpython-bf0beae6a05f3266606a21e22a4d803abbb8d731.tar.gz
cpython-bf0beae6a05f3266606a21e22a4d803abbb8d731.tar.bz2
gh-110017: Disable test_signal.test_stress_modifying_handlers on macOS (#112834)
Test test_stress_modifying_handlers in test_signal can crash the interpreter due to a bug in macOS. Filed as FB13453490 with Apple.
-rw-r--r--Lib/test/test_signal.py1
-rw-r--r--Misc/NEWS.d/next/macOS/2023-12-07-15-53-16.gh-issue-110017.UMYzMR.rst2
2 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index f2ae28c..acb7e9d 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -1318,6 +1318,7 @@ class StressTest(unittest.TestCase):
# 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()
diff --git a/Misc/NEWS.d/next/macOS/2023-12-07-15-53-16.gh-issue-110017.UMYzMR.rst b/Misc/NEWS.d/next/macOS/2023-12-07-15-53-16.gh-issue-110017.UMYzMR.rst
new file mode 100644
index 0000000..eab1746
--- /dev/null
+++ b/Misc/NEWS.d/next/macOS/2023-12-07-15-53-16.gh-issue-110017.UMYzMR.rst
@@ -0,0 +1,2 @@
+Disable a signal handling stress test on macOS due to a bug in macOS
+(FB13453490).