changeset: 80948:b227f8f7242d branch: 2.7 user: Andrew Svetlov date: Wed Dec 19 22:49:01 2012 +0200 files: Lib/test/test_urllib2.py Lib/test/test_winreg.py description: replace threw with raised (#16714) diff -r 0a5c5399f638 -r b227f8f7242d Lib/test/test_urllib2.py --- a/Lib/test/test_urllib2.py Wed Dec 19 22:47:05 2012 +0200 +++ b/Lib/test/test_urllib2.py Wed Dec 19 22:49:01 2012 +0200 @@ -1148,7 +1148,7 @@ ) 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 -r 0a5c5399f638 -r b227f8f7242d Lib/test/test_winreg.py --- a/Lib/test/test_winreg.py Wed Dec 19 22:47:05 2012 +0200 +++ b/Lib/test/test_winreg.py Wed Dec 19 22:49:01 2012 +0200 @@ -267,7 +267,7 @@ 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: