diff --git a/qa/zcash/full_test_suite.py b/qa/zcash/full_test_suite.py index fd67a6945..119a137a1 100755 --- a/qa/zcash/full_test_suite.py +++ b/qa/zcash/full_test_suite.py @@ -137,12 +137,8 @@ def ensure_no_dot_so_in_depends(): return exit_code == 0 def util_test(): - python = [] - if os.path.isfile('/usr/local/bin/python3'): - python = ['/usr/local/bin/python3'] - return subprocess.call( - python + [repofile('src/test/bitcoin-util-test.py')], + [sys.executable, repofile('src/test/bitcoin-util-test.py')], cwd=repofile('src'), env={'PYTHONPATH': repofile('src/test'), 'srcdir': repofile('src')} ) == 0