Skip to content

Commit 2737bf4

Browse files
committed
trying to debug local_toolchains failure
1 parent 2db3447 commit 2737bf4

File tree

1 file changed

+9
-1
lines changed
  • tests/integration/local_toolchains

1 file changed

+9
-1
lines changed

tests/integration/local_toolchains/test.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,16 @@ def test_python_from_path_used(self):
1919
text=True,
2020
)
2121
expected = expected.strip().lower()
22+
23+
msg = "\n".join([
24+
"other values:",
25+
f"{shell_path=}",
26+
f"{sys.executable=}",
27+
f"{sys._base_executable=}",
28+
])
2229
# Normalize case: Windows may have case differences
23-
self.assertEqual(expected.lower(), sys.executable.lower())
30+
self.assertEqual(expected.lower(), sys.executable.lower(),
31+
msg = msg)
2432

2533

2634
if __name__ == "__main__":

0 commit comments

Comments
 (0)