Merge pull request #36764 from cachedout/more_pip_test_fixing

Another bit of detection for failed pip tests
This commit is contained in:
Mike Place 2016-10-04 22:05:29 +09:00 committed by GitHub
commit 8ff69bf0c7

View file

@ -45,7 +45,7 @@ class PipModuleTest(integration.ModuleCase):
'''
Checks to see if a download error looks transitory
'''
return any(w in ret for w in ['URLError'])
return any(w in ret for w in ['URLError', 'Download error'])
def pip_successful_install(self, target, expect=('flake8', 'pep8',)):
'''