                  model = DisplayValueModel
                  fields = '__all__'
  
          serializer = TestSerializer()
          expected = OrderedDict([(1, 'My Red Color'), (2, 'My Yellow Color'), (3, 'My Green Color')])
          self.assertEqual(serializer.fields['color'].choices, expected)
  
  
  class TestIntegration(TestCase):
      def setUp(self):
 
</s> remove         expected = OrderedDict([(1, 'Red Color'), (2, 'Yellow Color'), (3, 'Green Color')])
 </s> add         expected = {1: 'Red Color', 2: 'Yellow Color', 3: 'Green Color'} </s> remove     ret = OrderedDict()
 </s> add     ret = {} </s> remove         expected = OrderedDict([
            ('Custom list action', 'http://testserver/api/actions/custom_list_action/'),
            ('List action', 'http://testserver/api/actions/list_action/'),
            ('Wrapped list action', 'http://testserver/api/actions/wrapped_list_action/'),
        ])
 </s> add         expected = {
            'Custom list action': 'http://testserver/api/actions/custom_list_action/',
            'List action': 'http://testserver/api/actions/list_action/',
            'Wrapped list action': 'http://testserver/api/actions/wrapped_list_action/',
        } </s> remove         expected = OrderedDict([
            ('Custom detail action', 'http://testserver/api/actions/1/custom_detail_action/'),
            ('Detail action', 'http://testserver/api/actions/1/detail_action/'),
            ('Wrapped detail action', 'http://testserver/api/actions/1/wrapped_detail_action/'),
 </s> add         expected = {
            'Custom detail action': 'http://testserver/api/actions/1/custom_detail_action/',
            'Detail action': 'http://testserver/api/actions/1/detail_action/',
            'Wrapped detail action': 'http://testserver/api/actions/1/wrapped_detail_action/', </s> remove     fields = OrderedDict()
 </s> add     fields = {}
        expected = {1: 'My Red Color', 2: 'My Yellow Color', 3: 'My Green Color'}
                  model = DisplayValueModel
                  fields = '__all__'
  
          serializer = TestSerializer()
        expected = {1: 'My Red Color', 2: 'My Yellow Color', 3: 'My Green Color'}
          self.assertEqual(serializer.fields['color'].choices, expected)
  
  
  class TestIntegration(TestCase):
      def setUp(self):
keep keep keep keep replace keep keep keep keep keep
 Replaced `OrderedDict` with `dict` (#8964) 
tests/test_model_serializer.py