  class TestResponseRenderContent(TestCase):
      
      def get_response(self, url='', accept_list=[], content=None):
          request = RequestFactory().get(url, HTTP_ACCEPT=','.join(accept_list))
          return Response(request=request, content=content, renderers=[r() for r in DEFAULT_RENDERERS])
  
      def test_render(self):
          """
          Test rendering simple data to json.  
          """
 
</s> remove     def get_response(self, url='', accept_list=[], content=None):
 </s> add     def get_response(self, url='', accept_list=[], content=None, 
                                    renderer_classes=DEFAULT_RENDERERS):
        accept_list = accept_list[0:] </s> remove         content = json.loads(response.content)
 </s> add         content = response.raw_content </s> remove         response.render()
 </s> add         response = response.render()
        return Response(request=request, content=content, 
                        renderers=[r() for r in renderer_classes])
  class TestResponseRenderContent(TestCase):
      
      def get_response(self, url='', accept_list=[], content=None):
          request = RequestFactory().get(url, HTTP_ACCEPT=','.join(accept_list))
        return Response(request=request, content=content, 
                        renderers=[r() for r in renderer_classes])
  
      def test_render(self):
          """
          Test rendering simple data to json.  
          """
keep keep keep keep replace keep keep keep keep keep
 hack to fix ImmediateResponse rendering 
djangorestframework/tests/response.py