diff options
Diffstat (limited to 'Lib/test/test_cgi.py')
-rw-r--r-- | Lib/test/test_cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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: |