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 a599e92
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/functional/test_python_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@ 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 a599e92

Please sign in to comment.