Don't check pip version in tests

This commit is contained in:
Donald Stufft 2014-12-23 19:37:00 -05:00
parent 7a139f273a
commit c0e8753c6e
1 changed files with 3 additions and 0 deletions

View File

@ -106,6 +106,9 @@ def isolate(tmpdir):
os.environ["GIT_AUTHOR_NAME"] = "pip"
os.environ["GIT_AUTHOR_EMAIL"] = "pypa-dev@googlegroups.com"
# We want to disable the version check from running in the tests
os.environ["PIP_DISABLE_PIP_VERSION_CHECK"] = "true"
os.makedirs(os.path.join(home_dir, ".config", "git"))
with open(os.path.join(home_dir, ".config", "git", "config"), "wb") as fp:
fp.write(