diff options
author | Guido van Rossum <guido@python.org> | 2007-08-27 20:40:10 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-27 20:40:10 (GMT) |
commit | 09549f44076e84083cbb15dbd6da9d1a3fd6d7f1 (patch) | |
tree | 311dfe57d4e326137b0435846cd07c3d717f26d0 /Lib/test/test_cgi.py | |
parent | 739e2ad64bc2a5a345723a23ca01fa6b54ba1c9f (diff) | |
download | cpython-09549f44076e84083cbb15dbd6da9d1a3fd6d7f1.zip cpython-09549f44076e84083cbb15dbd6da9d1a3fd6d7f1.tar.gz cpython-09549f44076e84083cbb15dbd6da9d1a3fd6d7f1.tar.bz2 |
Changes in anticipation of stricter str vs. bytes enforcement.
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 652b36e..9b3df21 100644 --- a/Lib/test/test_cgi.py +++ b/Lib/test/test_cgi.py @@ -232,7 +232,7 @@ class CgiTests(unittest.TestCase): return a f = TestReadlineFile(tempfile.TemporaryFile()) - f.write('x' * 256 * 1024) + f.write(b'x' * 256 * 1024) f.seek(0) env = {'REQUEST_METHOD':'PUT'} fs = cgi.FieldStorage(fp=f, environ=env) |