]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 17 Oct 2010 02:57:19 +0000 (02:57 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 17 Oct 2010 02:57:19 +0000 (02:57 +0000)
Lib/test/test_signal.py

index 1f15ff76fe81e8fa7a2286de82448d3d18d4ad59..83ac66943fa99723228f533ebc84b71fd964e894 100644 (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)