summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-11-22 21:53:48 (GMT)
committerGuido van Rossum <guido@python.org>1997-11-22 21:53:48 (GMT)
commit8e9ebfd337f18f7b707853a3f2f49cc6245c0596 (patch)
treefe6a0f373d376dede8ad635c250ab83c19965a3f /Lib/test
parentc0b93191e6e12fb391461545031808f74a8ae956 (diff)
downloadcpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.zip
cpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.tar.gz
cpython-8e9ebfd337f18f7b707853a3f2f49cc6245c0596.tar.bz2
os2 patch by Jeff Rush
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_select.py2
-rw-r--r--Lib/test/test_signal.py5
2 files changed, 3 insertions, 4 deletions
diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py
index 85bfa41..53185b1 100644
--- a/Lib/test/test_select.py
+++ b/Lib/test/test_select.py
@@ -35,7 +35,7 @@ else:
def test():
import sys
- if sys.platform[:3] in ('win', 'mac'):
+ if sys.platform[:3] in ('win', 'mac', 'os2'):
if verbose:
print "Can't test select easily on", sys.platform
return
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 51b120b..2d33635 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'