mirror of https://github.com/python/cpython
skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
This commit is contained in:
parent
68e0135e41
commit
0f61dd0787
|
@ -438,8 +438,8 @@ class ItimerTest(unittest.TestCase):
|
||||||
self.assertEqual(self.hndl_called, True)
|
self.assertEqual(self.hndl_called, True)
|
||||||
|
|
||||||
# Issue 3864, unknown if this affects earlier versions of freebsd also
|
# Issue 3864, unknown if this affects earlier versions of freebsd also
|
||||||
@unittest.skipIf(sys.platform=='freebsd6',
|
@unittest.skipIf(sys.platform in ('freebsd6', 'netbsd5'),
|
||||||
'itimer not reliable (does not mix well with threading) on freebsd6')
|
'itimer not reliable (does not mix well with threading) on some BSDs.')
|
||||||
def test_itimer_virtual(self):
|
def test_itimer_virtual(self):
|
||||||
self.itimer = signal.ITIMER_VIRTUAL
|
self.itimer = signal.ITIMER_VIRTUAL
|
||||||
signal.signal(signal.SIGVTALRM, self.sig_vtalrm)
|
signal.signal(signal.SIGVTALRM, self.sig_vtalrm)
|
||||||
|
|
Loading…
Reference in New Issue