Skip to content

Commit

Permalink
Debugging github actions failure
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmoore committed Jul 29, 2022
1 parent a36e4a9 commit 263b562
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/functional/test_python_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ def test_python_interpreter(
env_path = os.fsdecode(tmpdir / "venv")
env = EnvBuilder(with_pip=False)
env.create(env_path)
for f in (tmpdir / "venv").rglob("*"):
print(f)
print((tmpdir / "venv/pyvenv.cfg").read_text())
r = script.run(
str(tmpdir / "venv" / "bin" / "python"),
"-c",
"import sys, pprint; pprint.pprint(sys.path)",
)
print(r.stdout)

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

0 comments on commit 263b562

Please sign in to comment.