From de8f0b5ed17fc59fab1f20e9cca92c24ca89136d Mon Sep 17 00:00:00 2001
From: Paul Moore
Date: Mon, 5 Jun 2023 12:11:41 +0100
Subject: [PATCH] Lint
---
src/pip/_internal/cli/base_command.py | 1 -
tests/functional/test_python_option.py | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pip/_internal/cli/base_command.py b/src/pip/_internal/cli/base_command.py
index 5130a4505..6a3b8e6c2 100644
--- a/src/pip/_internal/cli/base_command.py
+++ b/src/pip/_internal/cli/base_command.py
@@ -131,7 +131,6 @@ class Command(CommandContextMixIn):
", ".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
diff --git a/tests/functional/test_python_option.py b/tests/functional/test_python_option.py
index ca124933e..ecfd819eb 100644
--- a/tests/functional/test_python_option.py
+++ b/tests/functional/test_python_option.py
@@ -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,