We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 767c968 commit 2ea139eCopy full SHA for 2ea139e
setuptools/tests/test_packageindex.py
@@ -31,8 +31,8 @@ def test_bad_url_bad_port(self):
31
url = 'http://127.0.0.1:0/nonesuch/test_package_index'
32
try:
33
v = index.open_url(url)
34
- except Exception as v:
35
- assert url in str(v)
+ except Exception as exc:
+ assert url in str(exc)
36
else:
37
assert isinstance(v, urllib.error.HTTPError)
38
@@ -48,8 +48,8 @@ def test_bad_url_typo(self):
48
)
49
50
51
52
53
54
55
0 commit comments