From 3dde472c967d8edade69b408b91f2979d52c2e5e Mon Sep 17 00:00:00 2001 From: mdr0id Date: Wed, 20 Nov 2019 10:39:59 -0800 Subject: [PATCH] update /usr/bin/env; fix print conventions --- qa/zcash/full_test_suite.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/qa/zcash/full_test_suite.py b/qa/zcash/full_test_suite.py index 5dc3e08a2..471ac2078 100755 --- a/qa/zcash/full_test_suite.py +++ b/qa/zcash/full_test_suite.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python3 # # Execute all of the automated tests related to Zcash. # @@ -104,18 +104,18 @@ def ensure_no_dot_so_in_depends(): for lib in libraries: if lib.find(".so") != -1: - print lib + print(lib) exit_code = 1 else: exit_code = 2 - print "arch-specific build dir not present" - print "Did you build the ./depends tree?" - print "Are you on a currently unsupported architecture?" + print("arch-specific build dir not present") + print("Did you build the ./depends tree?") + print("Are you on a currently unsupported architecture?") if exit_code == 0: - print "PASS." + print("PASS.") else: - print "FAIL." + print("FAIL.") return exit_code == 0 @@ -163,7 +163,7 @@ STAGE_COMMANDS = { def run_stage(stage): print('Running stage %s' % stage) print('=' * (len(stage) + 14)) - print + print() cmd = STAGE_COMMANDS[stage] if type(cmd) == type([]): @@ -171,10 +171,10 @@ def run_stage(stage): else: ret = cmd() - print + print() print('-' * (len(stage) + 15)) print('Finished stage %s' % stage) - print + print() return ret