  import unittest
  
  from django.conf.urls.defaults import patterns, url, include
  from django.test import TestCase
  
  from rest_framework.response import Response
  from rest_framework.views import APIView
  from rest_framework import status
  from rest_framework.renderers import (
      BaseRenderer,
 
</s> remove import unittest

from django.conf.urls.defaults import patterns, url, include
 </s> add  </s> remove from rest_framework.compat import yaml
 </s> add from rest_framework.compat import yaml, patterns, url, include </s> remove from django.test.client import RequestFactory
 </s> add  </s> remove from django.conf.urls.defaults import patterns, url, include
 </s> add 
from rest_framework.compat import patterns, url, include
  import unittest
  
  from django.conf.urls.defaults import patterns, url, include
  from django.test import TestCase
from rest_framework.compat import patterns, url, include
  from rest_framework.response import Response
  from rest_framework.views import APIView
  from rest_framework import status
  from rest_framework.renderers import (
      BaseRenderer,
keep keep keep keep replace keep keep keep keep keep
 urls, patterns, include imports move to compat to support incoming 1.3 thru 1.6 import compatability 
rest_framework/tests/response.py