a4d5040
Index: distribute-0.6.28/setuptools/tests/test_packageindex.py
8a178e8
===================================================================
a4d5040
--- distribute-0.6.28.orig/setuptools/tests/test_packageindex.py
a4d5040
+++ distribute-0.6.28/setuptools/tests/test_packageindex.py
a4d5040
@@ -73,7 +73,8 @@ class TestPackageIndex(unittest.TestCase
8a178e8
             index.open_url(url)
8a178e8
         except distutils.errors.DistutilsError, error:
a4d5040
             msg = unicode(error)
a4d5040
-            assert 'nonnumeric port' in msg or 'getaddrinfo failed' in msg
a4d5040
+            assert 'nonnumeric port' in msg or 'getaddrinfo failed' in msg\
a4d5040
+                    or 'Name or service not known' in msg
a4d5040
             return
a4d5040
         raise RuntimeError("Did not raise")
a4d5040