1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
This commit is contained in:
Paul Moore 2023-06-05 12:11:41 +01:00
parent 16f145d306
commit de8f0b5ed1
2 changed files with 1 additions and 1 deletions

View file

@ -131,7 +131,6 @@ class Command(CommandContextMixIn):
", ".join(sorted(always_enabled_features)), ", ".join(sorted(always_enabled_features)),
) )
# Make sure that the --python argument isn't specified after the # Make sure that the --python argument isn't specified after the
# subcommand. We can tell, because if --python was specified, # subcommand. We can tell, because if --python was specified,
# we should only reach this point if we're running in the created # we should only reach this point if we're running in the created

View file

@ -40,6 +40,7 @@ def test_python_interpreter(
result = script.pip("--python", env_path, "list", "--format=json") result = script.pip("--python", env_path, "list", "--format=json")
assert json.loads(result.stdout) == before assert json.loads(result.stdout) == before
def test_error_python_option_wrong_location( def test_error_python_option_wrong_location(
script: PipTestEnvironment, script: PipTestEnvironment,
tmpdir: Path, tmpdir: Path,