diff options
Diffstat (limited to 'tests/test_pip.py')
-rw-r--r-- | tests/test_pip.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_pip.py b/tests/test_pip.py index 17e8f6616..8f66b4f22 100644 --- a/tests/test_pip.py +++ b/tests/test_pip.py @@ -23,6 +23,7 @@ download_cache = tempfile.mkdtemp(prefix='pip-test-cache') site_packages_suffix = site.USER_SITE[len(site.USER_BASE) + 1:] + def path_to_url(path): """ Convert a path to URI. The path will be made absolute and @@ -278,6 +279,7 @@ class TestPipEnvironment(TestFileEnvironment): environ['PIP_NO_INPUT'] = '1' environ['PIP_LOG_FILE'] = str(self.root_path/'pip-log.txt') + environ['PIP_USE_MIRRORS'] = 'false' super(TestPipEnvironment, self).__init__( self.root_path, ignore_hidden=False, |