Commit 4b2a1a13 authored by Jason R. Coombs's avatar Jason R. Coombs

Don't raise when exception is caught

--HG--
branch : distribute
extra : rebase_source : 9da60528c7ace0a59bf1d92c6e155bba2e11ef18
parent 3cb3df32
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment