Skip to content

Commit

Permalink
Merge pull request #8991 from asottile/dead_code
Browse files Browse the repository at this point in the history
delete some dead test code (VERBOSE_FALSE)
  • Loading branch information
pradyunsg authored Oct 27, 2020
2 parents b39aeeb + 336e979 commit f2852cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
6 changes: 0 additions & 6 deletions tests/functional/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
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():
Expand Down
7 changes: 1 addition & 6 deletions tests/unit/test_vcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@
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(
Expand Down

0 comments on commit f2852cd

Please sign in to comment.