From 318909b297241f9c46f25815e12d05136da57fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Langa?= Date: Wed, 19 Oct 2011 02:40:48 +0200 Subject: 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. --- Lib/packaging/tests/test_pypi_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/packaging/tests/test_pypi_simple.py b/Lib/packaging/tests/test_pypi_simple.py index bd50d01..59204c4 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 -- cgit v0.12