summaryrefslogtreecommitdiff
path: root/Lib/test/test_signal.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-22 21:53:48 +0000
committerGuido van Rossum <guido@python.org>1997-11-22 21:53:48 +0000
commit6b8de8b36916d6446109934a70c32d74bd5c5aac (patch)
tree77fc00a48b1d75d2b8137656be497034a35c3ea0 /Lib/test/test_signal.py
parentc9a4a29aa808ba4969385829874bbabe0085b072 (diff)
downloadcpython-6b8de8b36916d6446109934a70c32d74bd5c5aac.tar.gz
os2 patch by Jeff Rush
Diffstat (limited to 'Lib/test/test_signal.py')
-rw-r--r--Lib/test/test_signal.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 51b120be86..2d33635a7d 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -4,9 +4,8 @@ import signal
import os
import sys
-if sys.platform[:3] == 'win':
- raise ImportError, "Can't test signal on Windows"
-
+if sys.platform[:3] in ('win', 'os2'):
+ raise ImportError, "Can't test signal on %s" % sys.platform[:3]
if verbose:
x = '-x'