Commit 9c58f456 authored by Fantix King's avatar Fantix King Committed by Denis Bilenko

test__issue6.py: fix on PY3

parent 526a0905
......@@ -17,7 +17,10 @@ elif sys.argv[1:] == ['subprocess']:
gevent.monkey.patch_all(sys=True)
def printline():
line = raw_input()
try:
line = raw_input()
except NameError:
line = input()
print('%s chars.' % len(line))
gevent.spawn(printline).join()
......
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