summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2010-10-17 02:57:19 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2010-10-17 02:57:19 (GMT)
commit0f61dd0787e4a0217c26e63780a6a150e90bb87b (patch)
treec915cedd0ff40997a913d35fa1fbad7e81ed8ebd
parent68e0135e4121b3e341aea7acf1cd017be74b50cf (diff)
downloadcpython-0f61dd0787e4a0217c26e63780a6a150e90bb87b.zip
cpython-0f61dd0787e4a0217c26e63780a6a150e90bb87b.tar.gz
cpython-0f61dd0787e4a0217c26e63780a6a150e90bb87b.tar.bz2
skip test_itimer_virtual on NetBSD to prevent the test suite from hanging.
-rw-r--r--Lib/test/test_signal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 1f15ff7..83ac669 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)