diff --git a/tests/test_cppimport.py b/tests/test_cppimport.py index f0715e3..9c12c74 100644 --- a/tests/test_cppimport.py +++ b/tests/test_cppimport.py @@ -38,7 +38,7 @@ def appended(filename, text): def subprocess_check(test_code, returncode=0): p = subprocess.run( - ["python", "-c", test_code], + [sys.executable, "-c", test_code], cwd=os.path.dirname(__file__), stdout=subprocess.PIPE, stderr=subprocess.PIPE,