summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-09-24 00:35:14 (GMT)
committerGitHub <noreply@github.com>2024-09-24 00:35:14 (GMT)
commit2cf67d3696a71f865f8078a66fb0aee309f1b42f (patch)
treedb47b5a7ce51c4c5e9bd28e1d6136cae2f339460
parente9b531d239b067f6d20a7ff8d2b7ea250ef82440 (diff)
downloadcpython-2cf67d3696a71f865f8078a66fb0aee309f1b42f.zip
cpython-2cf67d3696a71f865f8078a66fb0aee309f1b42f.tar.gz
cpython-2cf67d3696a71f865f8078a66fb0aee309f1b42f.tar.bz2
[3.13] gh-124083: Skip test_signal.test_strsignal() on NetBSD (GH-124084) (#124223)
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 <furkanonder@protonmail.com> Co-authored-by: T. Wouters <thomas@python.org>
-rw-r--r--Lib/test/test_signal.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 591cd41..8101322 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -123,6 +123,8 @@ class PosixTests(unittest.TestCase):
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))