summaryrefslogtreecommitdiff
path: root/Lib/test/test_cgi.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-29 23:37:32 +0000
committerCollin Winter <collinw@gmail.com>2007-08-29 23:37:32 +0000
commit03f6649445c535b585c00acd7a5fd3b7a3ae5018 (patch)
tree6719b71a07303286fa8ef3acd2bf48b5f621a19d /Lib/test/test_cgi.py
parent44c8e4b776323e23a7173611c472fd4da04f6fae (diff)
downloadcpython-03f6649445c535b585c00acd7a5fd3b7a3ae5018.tar.gz
Raise statement normalization in Lib/test/.
Diffstat (limited to 'Lib/test/test_cgi.py')
-rw-r--r--Lib/test/test_cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py
index 439982bf45..b1102cf97b 100644
--- a/Lib/test/test_cgi.py
+++ b/Lib/test/test_cgi.py
@@ -47,7 +47,7 @@ def do_test(buf, method):
env['CONTENT_TYPE'] = 'application/x-www-form-urlencoded'
env['CONTENT_LENGTH'] = str(len(buf))
else:
- raise ValueError, "unknown method: %s" % method
+ raise ValueError("unknown method: %s" % method)
try:
return cgi.parse(fp, env, strict_parsing=1)
except Exception as err: