mirror of
https://github.com/python/cpython.git
synced 2025-08-09 19:38:42 +00:00
[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 36682c0914
)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
This commit is contained in:
parent
2216c52828
commit
a82a2f1597
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue