def test_overwrite_ordering(self):
        self.d1[1] = 'ONE'
        self.assertEqual(list(six.itervalues(self.d1)), ['seven', 'ONE', 'nine'])
Overwriting an item keeps its place.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/utils/datastructures.py/SortedDictTests.test_overwrite_ordering