about summary refs log tree commit diff stats
path: root/test/analysis/dg_check.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/analysis/dg_check.py2
1 files changed, 1 insertions, 1 deletions
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))