From: Ɓukasz Langa Date: Wed, 19 Oct 2011 00:40:48 +0000 (+0200) Subject: A ricochet from fixing #10680: http://http://example.com/ no longer reports X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=318909b297241f9c46f25815e12d05136da57fa9;p=python A ricochet from fixing #10680: http://http://example.com/ no longer reports 'nonnumeric port'. It parses to a host name of "http:" which is equivalent to http:80. --- diff --git a/Lib/packaging/tests/test_pypi_simple.py b/Lib/packaging/tests/test_pypi_simple.py index bd50d01b39..59204c4b8d 100644 --- a/Lib/packaging/tests/test_pypi_simple.py +++ b/Lib/packaging/tests/test_pypi_simple.py @@ -87,7 +87,7 @@ class SimpleCrawlerTestCase(TempdirManager, try: crawler._open_url(url) except Exception as v: - self.assertIn('nonnumeric port', str(v)) + self.assertIn('Download error', str(v)) # issue #160 url = server.full_address