c8a7030a105a draft — Edd Barrett 4 years ago
Use the same Python for tests as the test runner was invoked with.
1 files changed, 1 insertions(+), 1 deletions(-)

M tests/run.py
M tests/run.py +1 -1
@@ 8,7 8,7 @@ import glob
 
 HERE = os.path.dirname(__file__)
 POOLE = [
-    os.path.join(HERE, "..", "env", "bin", "python"),
+    os.path.join(HERE, "..", "env", "bin", sys.executable),
     os.path.join(HERE, "..", "poole.py"),
 ]
 ACTUAL = os.path.join(HERE, "actual")