Lines Matching defs:the
186 # Break the cycles.
221 # For those the result should be the same as repr().
225 # it sorted a dict display if and only if the display required
382 # of how small the dictionary may be.
383 # Before the change, on 32-bit Windows pformat() gave order
390 # The next one is kind of goofy. The sorted order depends on the
392 # Python 2.5, this was in the test_same_as_repr() test. It's worth
409 words = 'the quick brown fox jumped over a lazy dog'.split()
413 OrderedDict([('the', 0),
424 words = 'the quick brown fox jumped over a lazy dog'.split()
436 'the': 0})""")
440 mappingproxy(OrderedDict([('the', 0),
462 the=0,
474 namespace(the=0,
487 the=0,
499 AdvancedNamespace(the=0,
627 # compares the pretty-printed repr against a string hard-coded in
628 # the test. The hard-coded repr depends on the sort order of
631 # However, as the docs point out: "Since sets only define
632 # partial ordering (subset relationships), the output of the
635 # In a nutshell, the test assumes frozenset({0}) will always
645 # algorithm cause the test to fail when it should pass.
646 # XXX Or changes to the dictionary implementation...
876 b = Orderable(hash(a)) # should have the same hash value
895 fox = 'the quick brown fox jumped over a lazy dog'
897 ('the quick brown '
903 'b': 'the quick brown '
908 # - \n always triggers a new line in the pprint
911 # - an apostrophe doesn't disrupt the pprint
945 # Check that the pprint is a usable repr
1027 # Check that the pprint is a usable repr
1080 words = 'the quick brown fox jumped over a lazy dog'.split()
1093 'the': 0})""")
1109 words = 'the quick brown fox jumped over a lazy dog'.split()
1122 'the': 0})""")
1134 'the': 0},
1135 OrderedDict([('the', 0),
1150 words = 'the quick brown fox jumped over a lazy dog'.split()
1154 deque([('the', 0),
1178 words = 'the quick brown fox jumped over a lazy dog'.split()
1190 'the': 0}""")
1195 words = 'the quick brown fox jumped over a lazy dog'.split()
1199 [('the', 0),
1212 d = collections.UserString('the quick brown fox jumped over a lazy dog')
1215 ('the quick brown '
1220 {1: 'the quick '