Commit bacf1bf3 authored by Andrew Svetlov's avatar Andrew Svetlov

replace threw with raised (#16714)

parent bd644608
......@@ -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.
......
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment