  from __future__ import unicode_literals
  
  from django.test import TestCase
  from django.test.client import RequestFactory
  from django.utils import simplejson as json
  from rest_framework import generics, serializers, status
  from rest_framework.tests.models import BasicModel, Comment, SlugBasedModel
 
</s>
import six

  from __future__ import unicode_literals
  
import six

  from django.test import TestCase
  from django.test.client import RequestFactory
  from django.utils import simplejson as json
  from rest_framework import generics, serializers, status
  from rest_framework.tests.models import BasicModel, Comment, SlugBasedModel
keep add keep keep keep keep keep
 Every (base) test should now pass with python3.
rest_framework/tests/generics.py