diff options
author | Pierre Quentel <pierre.quentel@gmail.com> | 2017-05-08 14:08:34 +0200 |
---|---|---|
committer | Senthil Kumaran <skumaran@gatech.edu> | 2017-05-08 05:08:34 -0700 |
commit | cc3fa204d357be5fafc10eb8c2a80fe0bca998f1 (patch) | |
tree | bd84defa311575c96461db01238cd231d94c439f /Lib/test/test_cgi.py | |
parent | f34c6850203a2406c4950af7a9c8a134145df4ea (diff) | |
download | cpython-git-cc3fa204d357be5fafc10eb8c2a80fe0bca998f1.tar.gz |
bpo-29979: Rewrite cgi.parse_multipart to make it consistent with FieldStorage (#991)
Diffstat (limited to 'Lib/test/test_cgi.py')
-rw-r--r-- | Lib/test/test_cgi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py index 637322137d..903d0731f9 100644 --- a/Lib/test/test_cgi.py +++ b/Lib/test/test_cgi.py @@ -126,8 +126,8 @@ class CgiTests(unittest.TestCase): env = {'boundary': BOUNDARY.encode('latin1'), 'CONTENT-LENGTH': '558'} result = cgi.parse_multipart(fp, env) - expected = {'submit': [b' Add '], 'id': [b'1234'], - 'file': [b'Testing 123.\n'], 'title': [b'']} + expected = {'submit': [' Add '], 'id': ['1234'], + 'file': [b'Testing 123.\n'], 'title': ['']} self.assertEqual(result, expected) def test_fieldstorage_properties(self): |