                  custom_field = ModelField(model_field=<tests.test_model_serializer.CustomField: custom_field>)
                  file_path_field = FilePathField(path='/tmp/')
          """)
  
          self.assertEqual(unicode_repr(TestSerializer()), expected)
  
      def test_field_options(self):
          class TestSerializer(serializers.ModelSerializer):
              class Meta:
                  model = FieldOptionsModel
 
</s> remove         self.assertEqual(unicode_repr(TestSerializer()), expected)
 </s> add         self.assertEqual(repr(TestSerializer()), expected) </s> remove         self.assertEqual(unicode_repr(TestSerializer()), expected)
 </s> add         self.assertEqual(repr(TestSerializer()), expected) </s> remove         self.assertEqual(unicode_repr(TestSerializer()), expected)
 </s> add         self.assertEqual(repr(TestSerializer()), expected) </s> remove         self.assertEqual(unicode_repr(TestSerializer()), expected)
 </s> add         self.assertEqual(repr(TestSerializer()), expected) </s> remove         self.assertEqual(unicode_repr(TestSerializer()), expected)
 </s> add         self.assertEqual(repr(TestSerializer()), expected)
        self.assertEqual(repr(TestSerializer()), expected)
                  custom_field = ModelField(model_field=<tests.test_model_serializer.CustomField: custom_field>)
                  file_path_field = FilePathField(path='/tmp/')
          """)
  
        self.assertEqual(repr(TestSerializer()), expected)
  
      def test_field_options(self):
          class TestSerializer(serializers.ModelSerializer):
              class Meta:
                  model = FieldOptionsModel
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
tests/test_model_serializer.py