Kaydet (Commit) acfd8ed0 authored tarafından Christian Heimes's avatar Christian Heimes

Windows fix for signal test - skip it earlier

üst d9759c48
import unittest
from test import test_support
import signal
import os, sys, time, errno
import sys, os, time, errno
if sys.platform[:3] in ('win', 'os2') or sys.platform == 'riscos':
raise test_support.TestSkipped("Can't test signal on %s" % \
sys.platform)
class HandlerBCalled(Exception):
pass
......@@ -256,10 +261,6 @@ class SiginterruptTest(unittest.TestCase):
self.assertEquals(i, False)
def test_main():
if sys.platform[:3] in ('win', 'os2') or sys.platform == 'riscos':
raise test_support.TestSkipped("Can't test signal on %s" % \
sys.platform)
test_support.run_unittest(BasicSignalTests, InterProcessSignalTests,
WakeupSignalTests, SiginterruptTest)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment