summaryrefslogtreecommitdiff
path: root/Lib/test/test_select.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-14 19:06:36 +0000
committerGuido van Rossum <guido@python.org>1997-05-14 19:06:36 +0000
commit11c001e6751a271d755d030ce5864fce642ba0ca (patch)
tree3e6c27e57c915910f4290e468132f08151c1dded /Lib/test/test_select.py
parent67b3088b23da0ea71479e209fd7b9ad770722edd (diff)
downloadcpython-11c001e6751a271d755d030ce5864fce642ba0ca.tar.gz
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 32ccfd16fe..85bfa419da 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')