diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-19 20:54:47 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-19 20:54:47 (GMT) |
commit | 1f415cf2c2b5f3eec5489ec1276c0629b32b28c0 (patch) | |
tree | 08c28b5c398c0e2071c7c5e883e5d08c5fc2b5df /Lib/test/test_urllib2.py | |
parent | 08d02724df9c99fb66be506755986e199b8781d3 (diff) | |
parent | 7bd61cbc030663ac688364260d2142d09678b2a3 (diff) | |
download | cpython-1f415cf2c2b5f3eec5489ec1276c0629b32b28c0.zip cpython-1f415cf2c2b5f3eec5489ec1276c0629b32b28c0.tar.gz cpython-1f415cf2c2b5f3eec5489ec1276c0629b32b28c0.tar.bz2 |
replace threw with raised (#16714)
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r-- | Lib/test/test_urllib2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 7ae1553..2d94ba4 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -1288,7 +1288,7 @@ class HandlerTests(unittest.TestCase): ) def test_basic_and_digest_auth_handlers(self): - # HTTPDigestAuthHandler threw an exception if it couldn't handle a 40* + # HTTPDigestAuthHandler raised an exception if it couldn't handle a 40* # response (http://python.org/sf/1479302), where it should instead # return None to allow another handler (especially # HTTPBasicAuthHandler) to handle the response. |