Skip to content

Commit a599e92

Browse files
committed
Debugging github actions failure
1 parent a36e4a9 commit a599e92

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/functional/test_python_option.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,17 @@ def test_python_interpreter(
1414
env_path = os.fsdecode(tmpdir / "venv")
1515
env = EnvBuilder(with_pip=False)
1616
env.create(env_path)
17+
for f in (tmpdir / "venv").rglob("*"):
18+
print(f)
19+
print((tmpdir / "venv/pyvenv.cfg").read_text())
20+
r = script.run(
21+
[
22+
str(tmpdir / "venv" / "bin" / "python"),
23+
"-c",
24+
"import sys, pprint; pprint.pprint(sys.path)",
25+
]
26+
)
27+
print(r.stdout)
1728

1829
result = script.pip("--python", env_path, "list", "--format=json")
1930
assert json.loads(result.stdout) == []

0 commit comments

Comments
 (0)