From: Ezio Melotti Date: Mon, 2 Aug 2010 04:25:50 +0000 (+0000) Subject: Fix incorrect placement of sorted() X-Git-Tag: v2.6.6rc1~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d6f56dbd4a4f5df8c1f5267c41b1b3f4c895ce5;p=python Fix incorrect placement of sorted() --- diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py index ef0653487d..0144b972cc 100644 --- a/Lib/test/test_cgi.py +++ b/Lib/test/test_cgi.py @@ -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