1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Remove superfluous "together"

This commit is contained in:
Felipe Peter 2023-05-21 00:29:06 +08:00
parent 00ddca8bae
commit e8b4bae05e
2 changed files with 3 additions and 5 deletions

View file

@ -105,8 +105,7 @@ class ListCommand(IndexGroupCommand):
choices=("columns", "freeze", "json"),
help=(
"Select the output format among: columns (default), freeze, or json. "
"The 'freeze' format cannot be used together with the --outdated "
"option."
"The 'freeze' format cannot be used with the --outdated option."
),
)
@ -161,8 +160,7 @@ class ListCommand(IndexGroupCommand):
if options.outdated and options.list_format == "freeze":
raise CommandError(
"List format 'freeze' cannot be used together with the --outdated "
"option."
"List format 'freeze' cannot be used with the --outdated option."
)
cmdoptions.check_list_path_option(options)

View file

@ -588,7 +588,7 @@ def test_outdated_formats(script: PipTestEnvironment, data: TestData) -> None:
expect_error=True,
)
assert (
"List format 'freeze' cannot be used together with the --outdated option."
"List format 'freeze' cannot be used with the --outdated option."
in result.stderr
)