From 0cd8228db1f27bb1e9ea2b8140d663c600d06719 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Thu, 7 Sep 2017 21:59:04 +0100 Subject: [PATCH] Use same python interpreter for running pytest --- bin/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run_tests.py b/bin/run_tests.py index 9264e2be..bcae61c5 100755 --- a/bin/run_tests.py +++ b/bin/run_tests.py @@ -10,7 +10,7 @@ if __name__ == '__main__': ### run the unit tests - subprocess.check_call(['python', '-m', 'pytest', 'unit_test']) + subprocess.check_call([sys.executable, '-m', 'pytest', 'unit_test']) ### run the integration tests