Commit 4a0694d2 authored by Guido van Rossum's avatar Guido van Rossum

Fix sys.platform test -- on Win, it is 'win32', not 'win'.

parent 0ba7e595
......@@ -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')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment