]> granicus.if.org Git - python/commitdiff
A ricochet from fixing #10680: http://http://example.com/ no longer reports
authorŁukasz Langa <lukasz@langa.pl>
Wed, 19 Oct 2011 00:40:48 +0000 (02:40 +0200)
committerŁukasz Langa <lukasz@langa.pl>
Wed, 19 Oct 2011 00:40:48 +0000 (02:40 +0200)
'nonnumeric port'. It parses to a host name of "http:" which is equivalent to
http:80.

Lib/packaging/tests/test_pypi_simple.py

index bd50d01b39913704872851646da3bf882522b39c..59204c4b8df9c4379c4077bcc28df5f6a401a65f 100644 (file)
@@ -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