  from django.conf.urls import include, url
  from django.contrib.auth.models import User
  from django.http import HttpResponse
  from django.test import TestCase, override_settings
  from django.utils import six
  
  from rest_framework import (
      HTTP_HEADER_ENCODING, exceptions, permissions, renderers, status
  )
  from rest_framework.authentication import (
 
</s> remove from django.utils import six
 </s> add  </s> remove from __future__ import unicode_literals

 </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 
  from django.conf.urls import include, url
  from django.contrib.auth.models import User
  from django.http import HttpResponse
  from django.test import TestCase, override_settings

  
  from rest_framework import (
      HTTP_HEADER_ENCODING, exceptions, permissions, renderers, status
  )
  from rest_framework.authentication import (
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/authentication/test_authentication.py