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(