Skip to content

Commit dde2b17

Browse files
committed
Debugging github actions failure
1 parent d86bd42 commit dde2b17

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

tests/functional/test_python_option.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,18 @@ def test_python_interpreter(
1414
env_path = os.fsdecode(tmpdir / "venv")
1515
env = EnvBuilder(with_pip=False)
1616
env.create(env_path)
17-
17+
for f in (tmpdir / "venv").rglob("*"):
18+
print(f)
19+
print((tmpdir / "venv/pyvenv.cfg").read_text())
20+
r = script.run(
21+
str(tmpdir / "venv" / "bin" / "python"),
22+
"-v",
23+
"-c",
24+
"import sys, os, pprint; "
25+
"print(os.environ.get('PYTHONPATH', '<None>')); pprint.pprint(sys.path)",
26+
)
27+
print(r.stdout)
28+
print(r.stderr)
1829
result = script.pip("--python", env_path, "list", "--format=json")
1930
assert json.loads(result.stdout) == []
2031
script.pip(

0 commit comments

Comments
 (0)