aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_packageindex.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2012-07-22 16:34:19 -0400
committerJason R. Coombs <jaraco@jaraco.com>2012-07-22 16:34:19 -0400
commit4b2a1a13fd5e01804b4fb281aea59407ccde43e8 (patch)
tree3c37d2438d5ae20ac3c593a9d0765902ac53e1b6 /setuptools/tests/test_packageindex.py
parent3cb3df324a301b4ad382d8be022442c62e65c770 (diff)
downloadexternal_python_setuptools-4b2a1a13fd5e01804b4fb281aea59407ccde43e8.tar.gz
external_python_setuptools-4b2a1a13fd5e01804b4fb281aea59407ccde43e8.tar.bz2
external_python_setuptools-4b2a1a13fd5e01804b4fb281aea59407ccde43e8.zip
Don't raise when exception is caught
--HG-- branch : distribute extra : rebase_source : 9da60528c7ace0a59bf1d92c6e155bba2e11ef18
Diffstat (limited to 'setuptools/tests/test_packageindex.py')
-rw-r--r--setuptools/tests/test_packageindex.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/tests/test_packageindex.py b/setuptools/tests/test_packageindex.py
index 107a57b6..1b4d2fdf 100644
--- a/setuptools/tests/test_packageindex.py
+++ b/setuptools/tests/test_packageindex.py
@@ -74,6 +74,7 @@ class TestPackageIndex(unittest.TestCase):
except distutils.errors.DistutilsError, error:
msg = unicode(error)
assert 'nonnumeric port' in msg or 'getaddrinfo failed' in msg
+ return
raise RuntimeError("Did not raise")
def test_bad_url_screwy_href(self):