summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-19 20:55:40 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-12-19 20:55:40 (GMT)
commitfd43b4d3e4ef17f018e6da2d218c6ae193d6b45c (patch)
treeecbf931ca38b74dc276afa54507f534fec36acd7 /Lib/test
parentaa03a1fe2a05b561e461817794e8d1de6f2205cf (diff)
parent1f415cf2c2b5f3eec5489ec1276c0629b32b28c0 (diff)
downloadcpython-fd43b4d3e4ef17f018e6da2d218c6ae193d6b45c.zip
cpython-fd43b4d3e4ef17f018e6da2d218c6ae193d6b45c.tar.gz
cpython-fd43b4d3e4ef17f018e6da2d218c6ae193d6b45c.tar.bz2
replace threw with raised (#16714)
Diffstat (limited to 'Lib/test')
-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 f296aa4..22e553f 100644
--- a/Lib/test/test_urllib2.py
+++ b/Lib/test/test_urllib2.py
@@ -1302,7 +1302,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 318937c..1f0f957 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: