From: Andrew Svetlov Date: Wed, 19 Dec 2012 20:49:25 +0000 (+0200) Subject: replace threw with raised (#16714) X-Git-Tag: v3.2.4rc1~254 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7bd61cbc030663ac688364260d2142d09678b2a3;p=thirdparty%2FPython%2Fcpython.git replace threw with raised (#16714) --- diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 3ace66e9a6ad..d8c302b71298 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. diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py index 918b312871e0..c7b50ddcab71 100644 --- a/Lib/test/test_winreg.py +++ b/Lib/test/test_winreg.py @@ -277,7 +277,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: