skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.

This commit is contained in:
Gregory P. Smith 2010-10-17 02:57:19 +00:00
parent 68e0135e41
commit 0f61dd0787
1 changed files with 2 additions and 2 deletions

View File

@ -438,8 +438,8 @@ class ItimerTest(unittest.TestCase):
self.assertEqual(self.hndl_called, True)
# Issue 3864, unknown if this affects earlier versions of freebsd also
@unittest.skipIf(sys.platform=='freebsd6',
'itimer not reliable (does not mix well with threading) on freebsd6')
@unittest.skipIf(sys.platform in ('freebsd6', 'netbsd5'),
'itimer not reliable (does not mix well with threading) on some BSDs.')
def test_itimer_virtual(self):
self.itimer = signal.ITIMER_VIRTUAL
signal.signal(signal.SIGVTALRM, self.sig_vtalrm)