2012-07-23 14:57:30 +00:00
|
|
|
Index: distribute-0.6.28/setuptools/tests/test_packageindex.py
|
2012-06-08 19:49:50 +00:00
|
|
|
===================================================================
|
2012-07-23 14:57:30 +00:00
|
|
|
--- distribute-0.6.28.orig/setuptools/tests/test_packageindex.py
|
|
|
|
+++ distribute-0.6.28/setuptools/tests/test_packageindex.py
|
|
|
|
@@ -73,7 +73,8 @@ class TestPackageIndex(unittest.TestCase
|
2012-06-08 19:49:50 +00:00
|
|
|
index.open_url(url)
|
|
|
|
except distutils.errors.DistutilsError, error:
|
2012-07-23 14:57:30 +00:00
|
|
|
msg = unicode(error)
|
|
|
|
- assert 'nonnumeric port' in msg or 'getaddrinfo failed' in msg
|
|
|
|
+ assert 'nonnumeric port' in msg or 'getaddrinfo failed' in msg\
|
|
|
|
+ or 'Name or service not known' in msg
|
|
|
|
return
|
|
|
|
raise RuntimeError("Did not raise")
|
|
|
|
|