Skip to content

Commit 64ae2dc

Browse files
committed
test/run-tests: fixes for Python 3
1 parent 7a66142 commit 64ae2dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/run-tests

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ def image_exists():
6767
def tests_on_docker():
6868
res = docker_run("bash -lc 'python /home/vimtest/run-tests inside-docker'", ok_fail=True)
6969
if res == 0:
70-
print "Tests OK"
70+
print("Tests OK")
7171
else:
72-
print "Tests Failed"
72+
print("Tests Failed")
7373
sys.exit(1)
7474

7575
def inside_docker():
@@ -92,7 +92,7 @@ def main():
9292
return
9393

9494
if not image_exists():
95-
print "Need to take image from remote"
95+
print("Need to take image from remote")
9696
system("docker pull %s" % (IMAGE, ))
9797

9898
if "-i" in sys.argv[1:]:

0 commit comments

Comments
 (0)