Skip to content

Commit a82a2f1

Browse files
[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 36682c0) Co-authored-by: Furkan Onder <[email protected]>
1 parent 2216c52 commit a82a2f1

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
@@ -122,6 +122,8 @@ def __repr__(self):
122122
self.assertEqual(signal.getsignal(signal.SIGHUP), hup)
123123
self.assertEqual(0, argument.repr_count)
124124

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

0 commit comments

Comments
 (0)