Commit 4d6f56db authored by Ezio Melotti's avatar Ezio Melotti

Fix incorrect placement of sorted()

parent 38a5800c
......@@ -166,9 +166,9 @@ class CgiTests(unittest.TestCase):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment