Skip to content

Commit e8b4bae

Browse files
committed
Remove superfluous "together"
1 parent 00ddca8 commit e8b4bae

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/pip/_internal/commands/list.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ def add_options(self) -> None:
105105
choices=("columns", "freeze", "json"),
106106
help=(
107107
"Select the output format among: columns (default), freeze, or json. "
108-
"The 'freeze' format cannot be used together with the --outdated "
109-
"option."
108+
"The 'freeze' format cannot be used with the --outdated option."
110109
),
111110
)
112111

@@ -161,8 +160,7 @@ def run(self, options: Values, args: List[str]) -> int:
161160

162161
if options.outdated and options.list_format == "freeze":
163162
raise CommandError(
164-
"List format 'freeze' cannot be used together with the --outdated "
165-
"option."
163+
"List format 'freeze' cannot be used with the --outdated option."
166164
)
167165

168166
cmdoptions.check_list_path_option(options)

tests/functional/test_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def test_outdated_formats(script: PipTestEnvironment, data: TestData) -> None:
588588
expect_error=True,
589589
)
590590
assert (
591-
"List format 'freeze' cannot be used together with the --outdated option."
591+
"List format 'freeze' cannot be used with the --outdated option."
592592
in result.stderr
593593
)
594594

0 commit comments

Comments
 (0)