File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -541,7 +541,7 @@ def test__pip_build_called_process_error(tmp_path):
541541
542542
543543def 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
You can’t perform that action at this time.
0 commit comments