about summary refs log tree commit diff stats
path: root/test/analysis/dg_check.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2016-09-08 19:02:57 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2016-09-08 19:02:57 +0200
commit5d57bd847b358da61acc7107ab084bb681ea3e98 (patch)
tree984f1891ada73c72ae6f94b428c28786b0ab2bc9 /test/analysis/dg_check.py
parent66244d2922adab3b9fe85ba3fb3cfd4a2ba98559 (diff)
downloadmiasm-5d57bd847b358da61acc7107ab084bb681ea3e98.tar.gz
miasm-5d57bd847b358da61acc7107ab084bb681ea3e98.zip
Test: fix python executable
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))