Skip to content

Commit 131f4ad

Browse files
CopilotDanielNoord
andcommitted
Fix review typing and import order in CLI invocation test
Co-authored-by: DanielNoord <13665637+DanielNoord@users.noreply.github.com>
1 parent 9491900 commit 131f4ad

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/unit/test_importable.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import subprocess
66
import sys
77
from contextlib import suppress
8+
from pathlib import Path
89

910

1011
def test_importable():
@@ -51,7 +52,7 @@ def test_importable():
5152
import isort.__main__ # noqa: F401
5253

5354

54-
def test_module_cli_invocation_works(tmp_path) -> None:
55+
def test_module_cli_invocation_works(tmp_path: Path) -> None:
5556
file_path = tmp_path / "sample.py"
5657
file_path.write_text("import os\nimport sys\n", encoding="utf-8")
5758

0 commit comments

Comments
 (0)