Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmoore committed Jun 5, 2023
1 parent 16f145d commit de8f0b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/pip/_internal/cli/base_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def _main(self, args: List[str]) -> int:
", ".join(sorted(always_enabled_features)),
)


# Make sure that the --python argument isn't specified after the
# subcommand. We can tell, because if --python was specified,
# we should only reach this point if we're running in the created
Expand Down
1 change: 1 addition & 0 deletions tests/functional/test_python_option.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def test_python_interpreter(
result = script.pip("--python", env_path, "list", "--format=json")
assert json.loads(result.stdout) == before


def test_error_python_option_wrong_location(
script: PipTestEnvironment,
tmpdir: Path,
Expand Down

0 comments on commit de8f0b5

Please sign in to comment.