  from django.db import models
  from django.http.request import HttpRequest
  from django.template import loader
  from django.test import TestCase, override_settings
  from django.utils import six
  from django.utils.safestring import SafeText
  from django.utils.translation import ugettext_lazy as _
  
  from rest_framework import permissions, serializers, status
  from rest_framework.compat import MutableMapping, coreapi
 
</s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from django.utils import six
 </s> add  </s> remove from rest_framework.compat import unicode_to_repr
 </s> add 
  from django.db import models
  from django.http.request import HttpRequest
  from django.template import loader
  from django.test import TestCase, override_settings

  from django.utils.safestring import SafeText
  from django.utils.translation import ugettext_lazy as _
  
  from rest_framework import permissions, serializers, status
  from rest_framework.compat import MutableMapping, coreapi
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_renderers.py