Skip to content

Commit 1bde6ff

Browse files
committed
fix: black formatting in codegen_test.py
1 parent 489b5a3 commit 1bde6ff

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/plugin/codegen_test.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ def test__pip_build_called_process_error(tmp_path):
541541

542542

543543
def test__pip_build_windows_quotes_version_specifiers(tmp_path):
544-
"""On Windows, args with '<' must be quoted so CMD doesn't treat them as redirection."""
544+
"""On Windows, args with '<' must be quoted so CMD doesn't misinterpret them."""
545545
command = ["pip", "install", "setuptools<82"]
546546
patch_cmd = patch.object(
547547
PythonLanguagePlugin, "_make_pip_command", return_value=command
@@ -554,7 +554,9 @@ def test__pip_build_windows_quotes_version_specifiers(tmp_path):
554554

555555
call_args = mock_run.call_args
556556
cmd_arg = call_args[0][0]
557-
assert isinstance(cmd_arg, str), "Windows branch must pass a string to subprocess_run"
557+
assert isinstance(
558+
cmd_arg, str
559+
), "Windows branch must pass a string to subprocess_run"
558560
assert "setuptools<82" in cmd_arg
559561
assert call_args[1]["shell"] is True
560562

0 commit comments

Comments
 (0)