diff --git a/docs/changelog/2720.bugfix.rst b/docs/changelog/2720.bugfix.rst new file mode 100644 index 000000000..f450e752a --- /dev/null +++ b/docs/changelog/2720.bugfix.rst @@ -0,0 +1,2 @@ +Fix assertion in ``test_result_json_sequential`` when interpreter +``_base_executable`` is a hardlink (macOS homebrew) - by user:`masenf` diff --git a/tests/session/cmd/test_sequential.py b/tests/session/cmd/test_sequential.py index 044e8bc5d..0825110eb 100644 --- a/tests/session/cmd/test_sequential.py +++ b/tests/session/cmd/test_sequential.py @@ -70,7 +70,7 @@ def test_result_json_sequential( py_info = PythonInfo.current_system() host_python = { - "executable": py_info.system_executable, + "executable": str(Path(py_info.system_executable).resolve()), "extra_version_info": None, "implementation": py_info.implementation, "is_64": py_info.architecture == 64,