summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_select.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-14 19:06:36 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-14 19:06:36 (GMT)
commit4a0694d23578559cefb49c92ba4107e9997e93ca (patch)
tree3daf392bccca58ce943e2fe76a3c0a87b9a3cc65 /Lib/test/test_select.py
parent0ba7e5958cbd7de85ab09620714f1e77f99bef67 (diff)
downloadcpython-4a0694d23578559cefb49c92ba4107e9997e93ca.zip
cpython-4a0694d23578559cefb49c92ba4107e9997e93ca.tar.gz
cpython-4a0694d23578559cefb49c92ba4107e9997e93ca.tar.bz2
Fix sys.platform test -- on Win, it is 'win32', not 'win'.
Diffstat (limited to 'Lib/test/test_select.py')
-rw-r--r--Lib/test/test_select.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_select.py b/Lib/test/test_select.py
index 32ccfd1..85bfa41 100644
--- a/Lib/test/test_select.py
+++ b/Lib/test/test_select.py
@@ -35,9 +35,9 @@ else:
def test():
import sys
- if sys.platform in ('win', 'mac'):
+ if sys.platform[:3] in ('win', 'mac'):
if verbose:
- print "Can't test select easily"
+ print "Can't test select easily on", sys.platform
return
cmd = 'for i in 0 1 2 3 4 5 6 7 8 9; do echo testing...; sleep 1; done'
p = os.popen(cmd, 'r')