Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0f61dd0

Browse files
committed
skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
1 parent 68e0135 commit 0f61dd0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/test/test_signal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ def test_itimer_real(self):
438438
self.assertEqual(self.hndl_called, True)
439439

440440
# Issue 3864, unknown if this affects earlier versions of freebsd also
441-
@unittest.skipIf(sys.platform=='freebsd6',
442-
'itimer not reliable (does not mix well with threading) on freebsd6')
441+
@unittest.skipIf(sys.platform in ('freebsd6', 'netbsd5'),
442+
'itimer not reliable (does not mix well with threading) on some BSDs.')
443443
def test_itimer_virtual(self):
444444
self.itimer = signal.ITIMER_VIRTUAL
445445
signal.signal(signal.SIGVTALRM, self.sig_vtalrm)

0 commit comments

Comments
 (0)