'Make two equal dicts with different key order.
Simple literals won\'t do it.  Filling one and then shrinking it will
make them different.'

def equal_but_different_dicts(self):

    d1 = {k: 1 for k in 'abcdefghijklmnopqrstuvwxyz'}
    d2 = dict(d1)
    for i in xrange(10000):
        d2[i] = 1
    for i in xrange(10000):
        del d2[i]
    self.assertEqual(d1, d2)
    self.assertNotEqual(d1.keys(), d2.keys())
    return (d1, d2)
