Merge pull request #8991 from asottile/dead_code

delete some dead test code (VERBOSE_FALSE)
This commit is contained in:
Pradyun Gedam 2020-10-27 21:45:20 +05:30 committed by GitHub
commit f2852cd775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 12 deletions

View File

@ -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():

View File

@ -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(