From 5d57bd847b358da61acc7107ab084bb681ea3e98 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Thu, 8 Sep 2016 19:02:57 +0200 Subject: Test: fix python executable --- test/analysis/dg_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/analysis/dg_check.py b/test/analysis/dg_check.py index 0d680b6f..dd662079 100644 --- a/test/analysis/dg_check.py +++ b/test/analysis/dg_check.py @@ -5,7 +5,7 @@ import json expected_file = sys.argv[1] -dg = subprocess.Popen(["python"] + sys.argv[2:], stdout=subprocess.PIPE) +dg = subprocess.Popen([sys.executable] + sys.argv[2:], stdout=subprocess.PIPE) stdout, _ = dg.communicate() expected = json.load(open(expected_file)) -- cgit 1.4.1