summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-19 20:49:01 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-19 20:49:01 (GMT)
commitbacf1bf35502931ce5de8c2e026ab6be65f943ef (patch)
treeb9ba271d4a1d03818fe8851bec359e5bf5cb5b78 /Lib
parentbd644608bde16499ebfe8208bd26b5e60887ccf7 (diff)
downloadcpython-bacf1bf35502931ce5de8c2e026ab6be65f943ef.zip
cpython-bacf1bf35502931ce5de8c2e026ab6be65f943ef.tar.gz
cpython-bacf1bf35502931ce5de8c2e026ab6be65f943ef.tar.bz2
replace threw with raised (#16714)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_urllib2.py2
-rw-r--r--Lib/test/test_winreg.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py
index fc76a6c..12263b3 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -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.
diff --git a/Lib/test/test_winreg.py b/Lib/test/test_winreg.py
index c6268e1..a741b65 100644
--- a/Lib/test/test_winreg.py
+++ b/Lib/test/test_winreg.py
@@ -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: