summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cgi.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2008-06-12 02:38:51 (GMT)
committerBarry Warsaw <barry@python.org>2008-06-12 02:38:51 (GMT)
commit596097e0bc2b22d53232fcf4d20ddad3f3f80f1b (patch)
treeb7fa762dd86aee2e6fce9de45c1fa7a67e751462 /Lib/test/test_cgi.py
parenta5b41eb1e63495c068949a62da630d00a672cfb6 (diff)
downloadcpython-596097e0bc2b22d53232fcf4d20ddad3f3f80f1b.zip
cpython-596097e0bc2b22d53232fcf4d20ddad3f3f80f1b.tar.gz
cpython-596097e0bc2b22d53232fcf4d20ddad3f3f80f1b.tar.bz2
Patch by Humberto Diogenes for issue 2849, removing rfc822 module from
the standard library. There are still a few cases of it in Demo and Tools, but that's fine for now. These should eventually get cleaned up. mimetools still has an import of rfc822, but mimetools itself should go away.
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 f9b336f..0d9b227 100644
--- a/Lib/test/test_cgi.py
+++ b/Lib/test/test_cgi.py
@@ -234,7 +234,7 @@ Content-Disposition: form-data; name="submit"
self.assertEquals(len(fs.list), 4)
expect = [{'name':'id', 'filename':None, 'value':'1234'},
{'name':'title', 'filename':None, 'value':''},
- {'name':'file', 'filename':'test.txt','value':'Testing 123.\n'},
+ {'name':'file', 'filename':'test.txt', 'value':'Testing 123.'},
{'name':'submit', 'filename':None, 'value':' Add '}]
for x in range(len(fs.list)):
for k, exp in expect[x].items():