mirror of https://github.com/python/cpython
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.
This commit is contained in:
parent
6c4e1aed4b
commit
318909b297
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue