Skip to content

Commit

Permalink
Use more idiomatic path code in tests/functional/test_cli.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pradyun Gedam <[email protected]>
  • Loading branch information
ichard26 and pradyunsg authored Apr 8, 2024
1 parent d7b1af5 commit 23f4ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_no_network_imports(command: str, tmp_path: Path) -> None:
network imports which were accidently added (which is the most likely way
to regress anyway).
"""
file = Path(tmp_path, f"imported_modules_for_{command}")
file = tmp_path / f"imported_modules_for_{command}.txt"
code = f"""
import runpy
import sys
Expand Down

0 comments on commit 23f4ad5

Please sign in to comment.