summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-02-28 21:17:00 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-02-28 21:17:00 (GMT)
commitc06950ee967a26071510f6ded04f1543989ad6b9 (patch)
tree23cdd9abc5871142ff3f994f203a5ccaaf27b9d3
parentc83b629996ca183eaceb3d3b7ede4312ee5cb675 (diff)
downloadcpython-c06950ee967a26071510f6ded04f1543989ad6b9.zip
cpython-c06950ee967a26071510f6ded04f1543989ad6b9.tar.gz
cpython-c06950ee967a26071510f6ded04f1543989ad6b9.tar.bz2
Merged revisions 61038,61042-61045,61047,61050,61053,61055-61056,61061-61062,61066,61068,61070,61083,61085,61092-61097,61103-61104,61110-61113 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r61113 | christian.heimes | 2008-02-28 22:00:45 +0100 (Thu, 28 Feb 2008) | 2 lines Windows fix for signal test - skip it earlier ........
-rw-r--r--Lib/test/test_signal.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 03e8101..1d25814 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -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
@@ -257,10 +262,6 @@ class SiginterruptTest(unittest.TestCase):
self.assertEquals(i, False)
def test_main():
- if sys.platform[:3] in ('win', 'os2'):
- raise test_support.TestSkipped("Can't test signal on %s" % \
- sys.platform)
-
test_support.run_unittest(BasicSignalTests, InterProcessSignalTests,
WakeupSignalTests, SiginterruptTest)