summaryrefslogtreecommitdiff
path: root/tests/build
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-01-14 10:24:56 +0100
committerStefan Behnel <stefan_ml@behnel.de>2014-01-14 10:24:56 +0100
commit83098842fcc270bfb397cab9e69873857df0e000 (patch)
tree52451974058b11e21ca7ae9c0ea16479e2b2ea81 /tests/build
parent8b550b26423d086f834b80abaf873031f0671e89 (diff)
downloadcython-83098842fcc270bfb397cab9e69873857df0e000.tar.gz
Py3 test fixes
Diffstat (limited to 'tests/build')
-rw-r--r--tests/build/common_include_dir.srctree6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/build/common_include_dir.srctree b/tests/build/common_include_dir.srctree
index c679fd334..858cd4149 100644
--- a/tests/build/common_include_dir.srctree
+++ b/tests/build/common_include_dir.srctree
@@ -48,12 +48,12 @@ def generator(n):
assert list(generator(10)) == list(range(10))
if __name__ == "__main__":
- print "here", "b"
+ print("here b")
######## c.pyx ########
if __name__ == "__main__":
- print "here", "c"
+ print("here c")
######## runner.py ########
@@ -73,7 +73,7 @@ if platform == 'Windows':
for line in open(file):
if regex.search(line):
count += 1
- print count
+ print(count)
sys.exit(count == 0)
else:
import subprocess