From: Gregory P. Smith Date: Sun, 17 Oct 2010 02:57:19 +0000 (+0000) Subject: skip test_itimer_virtual on NetBSD to prevent the test suite from hanging. X-Git-Tag: v3.2a4~506 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f61dd0787e4a0217c26e63780a6a150e90bb87b;p=thirdparty%2FPython%2Fcpython.git skip test_itimer_virtual on NetBSD to prevent the test suite from hanging. --- diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 1f15ff76fe81..83ac66943fa9 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -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)