Commits

Lennart Regebro committed 641e3e9

The error message changed in Python 3.3.

Comments (0)

Files changed (1)

setuptools/tests/test_packageindex.py

             index.open_url(url)
         except distutils.errors.DistutilsError, error:
             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")