Kaydet (Commit) 318909b2 authored tarafından Łukasz Langa's avatar Łukasz Langa

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.
üst 6c4e1aed
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment