  # to make it harder for the user to import the wrong thing without realizing.
  from __future__ import unicode_literals
  import django
  from django.conf import settings
  from django.test.client import Client as DjangoClient
  from django.test.client import ClientHandler
  from django.test import testcases
  from django.utils import six
  from django.utils.http import urlencode
  from rest_framework.settings import api_settings
  from rest_framework.compat import RequestFactory as DjangoRequestFactory
 
</s> remove from django.utils import six
 </s> add  </s> remove from rest_framework.compat import RequestFactory as DjangoRequestFactory
from rest_framework.compat import force_bytes_or_smart_bytes
 </s> add from rest_framework.compat import (
    force_bytes_or_smart_bytes, RequestFactory as DjangoRequestFactory
) </s> remove from django.test.signals import setting_changed
from django.conf import settings
 </s> add 
  # to make it harder for the user to import the wrong thing without realizing.
  from __future__ import unicode_literals
  import django
  from django.conf import settings


  from django.test import testcases
  from django.utils import six
  from django.utils.http import urlencode
  from rest_framework.settings import api_settings
  from rest_framework.compat import RequestFactory as DjangoRequestFactory
keep keep keep keep replace replace keep keep keep keep keep
 Cleanup import following PEP 8 style guide 
rest_framework/test.py