From: Benjamin Peterson Date: Mon, 30 Mar 2009 15:15:38 +0000 (+0000) Subject: don't rely on the order dict repr #5605 X-Git-Tag: v2.7a1~1749 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=68ffe3ec67894501501aa4b0dfc6403caf006d5c;p=python don't rely on the order dict repr #5605 --- diff --git a/Lib/test/test_pprint.py b/Lib/test/test_pprint.py index 439f605e63..3f29038ca3 100644 --- a/Lib/test/test_pprint.py +++ b/Lib/test/test_pprint.py @@ -121,10 +121,10 @@ class QueryTestCase(unittest.TestCase): {}, dict2(), dict3(), verify, pprint, -6, -6L, -6-6j, -1.5, "x", uni("x"), (3,), [3], {3: 6}, - (1,2), [3,4], {5: 6, 7: 8}, + (1,2), [3,4], {5: 6}, tuple2((1,2)), tuple3((1,2)), tuple3(range(100)), [3,4], list2([3,4]), list3([3,4]), list3(range(100)), - {5: 6, 7: 8}, dict2({5: 6}), dict3({5: 6}), + dict2({5: 6}), dict3({5: 6}), range(10, -11, -1) ): native = repr(simple)