mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
[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 36682c0914
)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
This commit is contained in:
parent
e9b531d239
commit
2cf67d3696
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue