]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
replace threw with raised (#16714)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 19 Dec 2012 20:49:01 +0000 (22:49 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 19 Dec 2012 20:49:01 +0000 (22:49 +0200)
Lib/test/test_urllib2.py
Lib/test/test_winreg.py

index fc76a6ccb923591d6240f0bd9a5e2105c0399ab7..12263b381dc42718a2bceaac295fcda2eea592ab 100644 (file)
@@ -1148,7 +1148,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.
index c6268e1473d96fb8cb1a2b7e8da364c62203dbca..a741b65e07f3fa55e05978a96d198abd82792ef2 100644 (file)
@@ -267,7 +267,7 @@ class LocalWinregTests(BaseWinregTests):
 
     def test_long_key(self):
         # Issue2810, in 2.6 and 3.1 when the key name was exactly 256
-        # characters, EnumKey threw "WindowsError: More data is
+        # characters, EnumKey raised "WindowsError: More data is
         # available"
         name = 'x'*256
         try: