Skip to content

Commit 23f4ad5

Browse files
ichard26pradyunsg
andauthored
Use more idiomatic path code in tests/functional/test_cli.py
Co-authored-by: Pradyun Gedam <[email protected]>
1 parent d7b1af5 commit 23f4ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_no_network_imports(command: str, tmp_path: Path) -> None:
7171
network imports which were accidently added (which is the most likely way
7272
to regress anyway).
7373
"""
74-
file = Path(tmp_path, f"imported_modules_for_{command}")
74+
file = tmp_path / f"imported_modules_for_{command}.txt"
7575
code = f"""
7676
import runpy
7777
import sys

0 commit comments

Comments
 (0)