Commit 83098842 authored by Stefan Behnel's avatar Stefan Behnel

Py3 test fixes

parent 8b550b26
...@@ -48,12 +48,12 @@ def generator(n): ...@@ -48,12 +48,12 @@ def generator(n):
assert list(generator(10)) == list(range(10)) assert list(generator(10)) == list(range(10))
if __name__ == "__main__": if __name__ == "__main__":
print "here", "b" print("here b")
######## c.pyx ######## ######## c.pyx ########
if __name__ == "__main__": if __name__ == "__main__":
print "here", "c" print("here c")
######## runner.py ######## ######## runner.py ########
...@@ -73,7 +73,7 @@ if platform == 'Windows': ...@@ -73,7 +73,7 @@ if platform == 'Windows':
for line in open(file): for line in open(file):
if regex.search(line): if regex.search(line):
count += 1 count += 1
print count print(count)
sys.exit(count == 0) sys.exit(count == 0)
else: else:
import subprocess import subprocess
......
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