  # -- coding: utf-8 --
  
  # Note that we import as `DjangoRequestFactory` and `DjangoClient` in order
  # to make it harder for the user to import the wrong thing without realizing.
  from __future__ import unicode_literals
  
  import io
  from importlib import import_module
  
  from django.conf import settings
  from django.core.exceptions import ImproperlyConfigured
 
</s> remove # -- coding: utf-8 --

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove # -- coding: utf-8 --

from __future__ import unicode_literals

 </s> add  </s> remove # coding: utf-8
from __future__ import unicode_literals

 </s> add  </s> remove # coding: utf-8

from __future__ import unicode_literals

 </s> add 
  # -- coding: utf-8 --
  
  # Note that we import as `DjangoRequestFactory` and `DjangoClient` in order
  # to make it harder for the user to import the wrong thing without realizing.


  import io
  from importlib import import_module
  
  from django.conf import settings
  from django.core.exceptions import ImproperlyConfigured
keep keep keep keep 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> 
rest_framework/test.py