aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorLennart Regebro <regebro@gmail.com>2012-08-22 10:48:44 +0200
committerLennart Regebro <regebro@gmail.com>2012-08-22 10:48:44 +0200
commite19d57773e1abb8d8f3f46417b07c1617d2d91ea (patch)
tree23615826bb0f4fe959efe645b3d047281238bf48 /setuptools
parent09e17ec652658269939b018ed50bdec2cc2c5bc1 (diff)
downloadexternal_python_setuptools-e19d57773e1abb8d8f3f46417b07c1617d2d91ea.tar.gz
external_python_setuptools-e19d57773e1abb8d8f3f46417b07c1617d2d91ea.tar.bz2
external_python_setuptools-e19d57773e1abb8d8f3f46417b07c1617d2d91ea.zip
The error message changed in Python 3.3.
--HG-- branch : distribute extra : rebase_source : 107ac0ce6d98f4b17f31a6f4c006b1ae2e21381b
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/tests/test_packageindex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_packageindex.py b/setuptools/tests/test_packageindex.py
index 1b4d2fdf..886befcb 100644
--- a/setuptools/tests/test_packageindex.py
+++ b/setuptools/tests/test_packageindex.py
@@ -73,7 +73,7 @@ class TestPackageIndex(unittest.TestCase):
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")