diff --git a/python-setup/tests/from_python_exe.py b/python-setup/tests/from_python_exe.py index d5bf1624f..79c423c1a 100755 --- a/python-setup/tests/from_python_exe.py +++ b/python-setup/tests/from_python_exe.py @@ -9,7 +9,7 @@ def get_details(path_to_python_exe: str) -> Tuple[str, str]: import_path = subprocess.check_output( [ path_to_python_exe, - os.path.join(os.path.dirname(__file__), "find_site_packages.py") + os.path.join(os.path.dirname(__file__), "..", "find_site_packages.py") ], stdin=subprocess.DEVNULL, )