mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Merge pull request #8991 from asottile/dead_code
delete some dead test code (VERBOSE_FALSE)
This commit is contained in:
commit
f2852cd775
2 changed files with 1 additions and 12 deletions
|
@ -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():
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue