commit | 3add4d78ff9f5de02e2c0de09efe9a9b5317539f | [log] [tgz] |
---|---|---|
author | Collin Winter <collinw@gmail.com> | Wed Aug 29 23:37:32 2007 +0000 |
committer | Collin Winter <collinw@gmail.com> | Wed Aug 29 23:37:32 2007 +0000 |
tree | c61c6a122b33537814bcc643300f10759fa81010 | |
parent | e0281cab810c30a23cf2490704e0f85aa4751e83 [diff] [blame] |
Raise statement normalization in Lib/test/.
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py index 439982b..b1102cf 100644 --- a/Lib/test/test_cgi.py +++ b/Lib/test/test_cgi.py
@@ -47,7 +47,7 @@ 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: