https://github.com/python/cpython/commit/a82a2f1597cdd2f791d0e39fb4fd43f38b6b4186
commit: a82a2f1597cdd2f791d0e39fb4fd43f38b6b4186
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2024-09-18T21:47:18Z
summary:

[3.12] gh-124083: Skip test_signal.test_strsignal() on NetBSD (GH-124084) 
(#124224)

gh-124083: Skip test_signal.test_strsignal() on NetBSD (GH-124084)

Skip test_strsignal() on NetBSD due to TypeError.
(cherry picked from commit 36682c091407dc9c7e750c22fb71e62466952662)

Co-authored-by: Furkan Onder <[email protected]>

files:
M Lib/test/test_signal.py

diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index c7b9549dd3a828..a45527d7315dfc 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -122,6 +122,8 @@ def __repr__(self):
         self.assertEqual(signal.getsignal(signal.SIGHUP), hup)
         self.assertEqual(0, argument.repr_count)
 
+    @unittest.skipIf(sys.platform.startswith("netbsd"),
+                     "gh-124083: strsignal is not supported on NetBSD")
     def test_strsignal(self):
         self.assertIn("Interrupt", signal.strsignal(signal.SIGINT))
         self.assertIn("Terminated", signal.strsignal(signal.SIGTERM))

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to