          class MockView(View):
              permissions = ()
  
              def get(self, request):
                  return Response({'a':1, 'b':2, 'c':3})
  
          self.req = RequestFactory()
          self.MockView = MockView
          self.view = MockView.as_view()
  
 
</s> remove     renderers = (RendererA, RendererB)
 </s> add     renderer_classes = (RendererA, RendererB) </s> remove     renderers = (DocumentingHTMLRenderer, )
 </s> add     renderer_classes = (DocumentingHTMLRenderer, ) </s> remove     renderers = (DocumentingHTMLRenderer, JSONRenderer)
 </s> add     renderer_classes = (DocumentingHTMLRenderer, JSONRenderer) </s> remove     def __init__(self, view):
 </s> add     def __init__(self, view=None):
                return self.response_class({'a':1, 'b':2, 'c':3})
          class MockView(View):
              permissions = ()
  
              def get(self, request):
                return self.response_class({'a':1, 'b':2, 'c':3})
  
          self.req = RequestFactory()
          self.MockView = MockView
          self.view = MockView.as_view()
  
keep keep keep keep replace keep keep keep keep keep
 cleaned a bit Response/ResponseMixin code, added some documentation + renamed ErrorResponse to ImmediateResponse 
djangorestframework/tests/accept.py