summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests
diff options
context:
space:
mode:
authorŁukasz Langa <lukasz@langa.pl>2011-10-19 00:40:48 (GMT)
committerŁukasz Langa <lukasz@langa.pl>2011-10-19 00:40:48 (GMT)
commit318909b297241f9c46f25815e12d05136da57fa9 (patch)
tree33a2c53dbfab021ec3381d4d81ff828d0b81a0af /Lib/packaging/tests
parent6c4e1aed4b9ac08ee92d54d76063c3349757ca87 (diff)
downloadcpython-318909b297241f9c46f25815e12d05136da57fa9.zip
cpython-318909b297241f9c46f25815e12d05136da57fa9.tar.gz
cpython-318909b297241f9c46f25815e12d05136da57fa9.tar.bz2
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.
Diffstat (limited to 'Lib/packaging/tests')
-rw-r--r--Lib/packaging/tests/test_pypi_simple.py2
1 files changed, 1 insertions, 1 deletions
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