From 336e979894b4e851cc1508450128977871e6b0e7 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Mon, 12 Oct 2020 16:04:24 -0700 Subject: [PATCH] delete some dead test code (VERBOSE_FALSE) was just browsing through some files and noticed this --- tests/functional/test_search.py | 6 ------ tests/unit/test_vcs.py | 7 +------ 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/tests/functional/test_search.py b/tests/functional/test_search.py index 1892e26b5..875e2e5d6 100644 --- a/tests/functional/test_search.py +++ b/tests/functional/test_search.py @@ -6,12 +6,6 @@ import pytest from pip._internal.cli.status_codes import NO_MATCHES_FOUND, SUCCESS from pip._internal.commands import create_command from pip._internal.commands.search import highest_version, print_results, transform_hits -from tests.lib import pyversion - -if pyversion >= '3': - VERBOSE_FALSE = False -else: - VERBOSE_FALSE = 0 def test_version_compare(): diff --git a/tests/unit/test_vcs.py b/tests/unit/test_vcs.py index b6ed86b62..d36f9f01d 100644 --- a/tests/unit/test_vcs.py +++ b/tests/unit/test_vcs.py @@ -13,12 +13,7 @@ from pip._internal.vcs.git import Git, looks_like_hash from pip._internal.vcs.mercurial import Mercurial from pip._internal.vcs.subversion import Subversion from pip._internal.vcs.versioncontrol import RevOptions, VersionControl -from tests.lib import is_svn_installed, need_svn, pyversion - -if pyversion >= '3': - VERBOSE_FALSE = False -else: - VERBOSE_FALSE = 0 +from tests.lib import is_svn_installed, need_svn @pytest.mark.skipif(