Skip to content

Commit 2cf67d3

Browse files
miss-islingtonfurkanonderYhg1s
authored
[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 36682c0) Co-authored-by: Furkan Onder <[email protected]> Co-authored-by: T. Wouters <[email protected]>
1 parent e9b531d commit 2cf67d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_signal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ def __repr__(self):
123123
self.assertEqual(signal.getsignal(signal.SIGHUP), hup)
124124
self.assertEqual(0, argument.repr_count)
125125

126+
@unittest.skipIf(sys.platform.startswith("netbsd"),
127+
"gh-124083: strsignal is not supported on NetBSD")
126128
def test_strsignal(self):
127129
self.assertIn("Interrupt", signal.strsignal(signal.SIGINT))
128130
self.assertIn("Terminated", signal.strsignal(signal.SIGTERM))

0 commit comments

Comments
 (0)