diff options
Diffstat (limited to 'Lib/test/test_signal.py')
-rw-r--r-- | Lib/test/test_signal.py | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index f17123c3bb..48b7a392e5 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -56,9 +56,6 @@ class PosixTests(unittest.TestCase): self.assertEqual(signal.getsignal(signal.SIGHUP), hup) # Issue 3864, unknown if this affects earlier versions of freebsd also - @unittest.skipIf(sys.platform=='freebsd6', - 'inter process signals not reliable (do not mix well with threading) ' - 'on freebsd6') def test_interprocess_signal(self): dirname = os.path.dirname(__file__) script = os.path.join(dirname, 'signalinterproctester.py') @@ -651,7 +648,7 @@ 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 in ('freebsd6', 'netbsd5'), + @unittest.skipIf(sys.platform in ('netbsd5',), 'itimer not reliable (does not mix well with threading) on some BSDs.') def test_itimer_virtual(self): self.itimer = signal.ITIMER_VIRTUAL @@ -673,9 +670,6 @@ class ItimerTest(unittest.TestCase): # and the handler should have been called 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') def test_itimer_prof(self): self.itimer = signal.ITIMER_PROF signal.signal(signal.SIGPROF, self.sig_prof) @@ -762,16 +756,6 @@ class PendingSignalsTests(unittest.TestCase): signal.signal(signum, handler) - if sys.platform == 'freebsd6': - # Issue #12392 and #12469: send a signal to the main thread - # doesn't work before the creation of the first thread on - # FreeBSD 6 - def noop(): - pass - thread = threading.Thread(target=noop) - thread.start() - thread.join() - tid = threading.get_ident() try: signal.pthread_kill(tid, signum) @@ -1010,9 +994,6 @@ class PendingSignalsTests(unittest.TestCase): """ assert_python_ok('-c', code) - @unittest.skipIf(sys.platform == 'freebsd6', - "issue #12392: send a signal to the main thread doesn't work " - "before the creation of the first thread on FreeBSD 6") @unittest.skipUnless(hasattr(signal, 'pthread_kill'), 'need signal.pthread_kill()') def test_pthread_kill_main_thread(self): |