[Python-checkins] r83519 - python/branches/release26-maint/Lib/test/test_cgi.py
ezio.melotti
python-checkins at python.org
Mon Aug 2 06:25:50 CEST 2010
Author: ezio.melotti
Date: Mon Aug 2 06:25:50 2010
New Revision: 83519
Log:
Fix incorrect placement of sorted()
Modified:
python/branches/release26-maint/Lib/test/test_cgi.py
Modified: python/branches/release26-maint/Lib/test/test_cgi.py
==============================================================================
--- python/branches/release26-maint/Lib/test/test_cgi.py (original)
+++ python/branches/release26-maint/Lib/test/test_cgi.py Mon Aug 2 06:25:50 2010
@@ -166,9 +166,9 @@
self.assertEqual(sorted(sd.getlist(key)), sorted(expect_val))
if single_value:
self.assertEqual(sorted(sd.values()),
- sorted(first_elts(expect.values())))
+ first_elts(sorted(expect.values())))
self.assertEqual(sorted(sd.items()),
- sorted(first_second_elts(expect.items())))
+ first_second_elts(sorted(expect.items())))
def test_weird_formcontentdict(self):
# Test the weird FormContentDict classes
More information about the Python-checkins
mailing list