          )
  
  
  class TestUnicodeRepr:
      def test_unicode_repr(self):
          class ExampleSerializer(serializers.Serializer):
              example = serializers.CharField()
  
          class ExampleObject:
              def __init__(self):
 
</s> remove class BaseRouter(six.with_metaclass(RenameRouterMethods)):
 </s> add class BaseRouter(metaclass=RenameRouterMethods): </s> remove         class MockPager(object):
 </s> add         class MockPager: </s> remove         class DictLike(object):
 </s> add         class DictLike: </s> remove         class ExampleInstance(object):
 </s> add         class ExampleInstance: </s> remove         class ExampleInstance(object):
 </s> add         class ExampleInstance:
    def test_repr(self):
          )
  
  
  class TestUnicodeRepr:
    def test_repr(self):
          class ExampleSerializer(serializers.Serializer):
              example = serializers.CharField()
  
          class ExampleObject:
              def __init__(self):
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_serializer.py