Skip to content

Commit

Permalink
fix check_env in test_core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
znd4 committed Nov 15, 2023
1 parent e048ca2 commit 3d9934f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def check_env(project: Project, pdm: "PDMCallable", environ: Tuple[Tuple[str, st
textwrap.dedent(
f"""
import os, pathlib
pathlib.Path({fp.name!r}).write_text(os.environ.get({key!r}, ""))
pathlib.Path({str(fp)!r}).write_text(os.environ.get({key!r}, ""))
"""
),
],
Expand Down

0 comments on commit 3d9934f

Please sign in to comment.