Skip to content

Commit 263b562

Browse files
committed
Debugging github actions failure
1 parent a36e4a9 commit 263b562

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/functional/test_python_option.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ 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+
str(tmpdir / "venv" / "bin" / "python"),
22+
"-c",
23+
"import sys, pprint; pprint.pprint(sys.path)",
24+
)
25+
print(r.stdout)
1726

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

0 commit comments

Comments
 (0)