$OpenBSD: patch-Lib_test_test_signal_py,v 1.4 2011/09/14 09:23:11 fgsch Exp $

workarounds for breakage caused by libpthread

--- Lib/test/test_signal.py.orig	Sun Nov 21 13:34:58 2010
+++ Lib/test/test_signal.py	Sat Sep 10 17:13:14 2011
@@ -461,8 +461,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', 'openbsd3', 'openbsd4', 'openbsd5'),
+        'itimer not reliable (does not mix well with threading) on some BSDs.')
     def test_itimer_prof(self):
         self.itimer = signal.ITIMER_PROF
         signal.signal(signal.SIGPROF, self.sig_prof)
