  from __future__ import unicode_literals
  
  from rest_framework import authentication, renderers
  from rest_framework.response import Response
  from rest_framework.views import APIView
  
  
 
</s> remove from django.utils.encoding import python_2_unicode_compatible
 </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 PY36, is_guardian_installed, mock
 </s> add from rest_framework.compat import PY36, is_guardian_installed


  from rest_framework import authentication, renderers
  from rest_framework.response import Response
  from rest_framework.views import APIView
  
  
replace 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/browsable_api/views.py