summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMasen Furer <m_github@0x26.net>2022-12-18 19:23:26 -0800
committerGitHub <noreply@github.com>2022-12-18 19:23:26 -0800
commit9972a82ceba40ca11573f668bdc38abafbe57486 (patch)
tree7e52c4487a65749109e858a280156ad38406fa33 /tests
parent968ea7d7c3b11e82c3f93e0af78068e8b1376e17 (diff)
downloadtox-git-9972a82ceba40ca11573f668bdc38abafbe57486.tar.gz
test_sequential: resolve() the system_executable (#2751)
When the _base_executable is a hardlink (macOS homebrew), then the virtualenv `PythonInfo.current_system()` call might not return the same path as tox's PythonInfo.interpreter, even though they would be pointing to the same file. fix issue #2720
Diffstat (limited to 'tests')
-rw-r--r--tests/session/cmd/test_sequential.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/session/cmd/test_sequential.py b/tests/session/cmd/test_sequential.py
index 044e8bc5..0825110e 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,