Skip to content

Commit 46c2bf5

Browse files
committed
Skip test_sigwaitinfo on NetBSD due to POSIX violation
1 parent ffb5a53 commit 46c2bf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/_test_eintr.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,8 @@ def check_sigwait(self, wait_func):
431431

432432
self.assertEqual(proc.wait(), 0)
433433

434+
@unittest.skipIf(sys.platform.startswith("netbsd"),
435+
"NetBSD sigwaitinfo() returns ECANCELED instead of EINTR; see gh-137490")
434436
@unittest.skipUnless(hasattr(signal, 'sigwaitinfo'),
435437
'need signal.sigwaitinfo()')
436438
def test_sigwaitinfo(self):

0 commit comments

Comments
 (0)