[Python-checkins] r61113 - python/trunk/Lib/test/test_signal.py
christian.heimes
python-checkins at python.org
Thu Feb 28 22:00:45 CET 2008
Author: christian.heimes
Date: Thu Feb 28 22:00:45 2008
New Revision: 61113
Modified:
python/trunk/Lib/test/test_signal.py
Log:
Windows fix for signal test - skip it earlier
Modified: python/trunk/Lib/test/test_signal.py
==============================================================================
--- python/trunk/Lib/test/test_signal.py (original)
+++ python/trunk/Lib/test/test_signal.py Thu Feb 28 22:00:45 2008
@@ -1,7 +1,12 @@
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 @@
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)
More information about the Python-checkins
mailing list