summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllib2.py
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-19 20:49:25 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-19 20:49:25 (GMT)
commit7bd61cbc030663ac688364260d2142d09678b2a3 (patch)
tree217c6c7e38734bf15f1b64133b430b46f2a98b17 /Lib/test/test_urllib2.py
parent737fb89dd15e4db6ef30d25963e774ae09cc49dc (diff)
downloadcpython-7bd61cbc030663ac688364260d2142d09678b2a3.zip
cpython-7bd61cbc030663ac688364260d2142d09678b2a3.tar.gz
cpython-7bd61cbc030663ac688364260d2142d09678b2a3.tar.bz2
replace threw with raised (#16714)
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r--Lib/test/test_urllib2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index 3ace66e..d8c302b 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -1252,7 +1252,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.