diff options
Diffstat (limited to 'tests/unit/test_web_urls.py')
-rw-r--r-- | tests/unit/test_web_urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_web_urls.py b/tests/unit/test_web_urls.py index 54eee1bda..771b7fcb9 100644 --- a/tests/unit/test_web_urls.py +++ b/tests/unit/test_web_urls.py @@ -36,7 +36,7 @@ class TestWebURLs(ZuulTestCase): req = urllib.request.Request(url) try: f = urllib.request.urlopen(req) - except urllib.error.HTTPError as e: + except urllib.error.HTTPError: raise Exception("Error on URL {}".format(url)) return f.read() |