      url(r'^$', MockView.as_view(renderer_classes=[RendererA, RendererB])),
      url(r'^cache$', MockGETView.as_view()),
      url(r'^jsonp/jsonrenderer$', MockGETView.as_view(renderer_classes=[JSONRenderer, JSONPRenderer])),
      url(r'^jsonp/nojsonrenderer$', MockGETView.as_view(renderer_classes=[JSONPRenderer])),
      url(r'^parseerror$', MockGETView.as_view(renderer_classes=[JSONRenderer, BrowsableAPIRenderer])),
      url(r'^html$', HTMLView.as_view()),
      url(r'^html1$', HTMLView1.as_view()),
      url(r'^api', include('rest_framework.urls', namespace='rest_framework'))
  )
  
 
</s> remove         self.assertContains(resp.content, 'Mock GET View')
        self.assertEqual(resp.status_code, status.HTTP_400_)
 </s> add         self.assertIn('Mock Post', resp.content)
        self.assertEqual(resp.status_code, status.HTTP_400_BAD_REQUEST) </s> remove             data = request.DATA
            files = request.FILES
 </s> add             try:
                data = request.DATA
                files = request.FILES
            except ParseError:
                data = None
                files = None        
    url(r'^parseerror$', MockPOSTView.as_view(renderer_classes=[JSONRenderer, BrowsableAPIRenderer])),
      url(r'^$', MockView.as_view(renderer_classes=[RendererA, RendererB])),
      url(r'^cache$', MockGETView.as_view()),
      url(r'^jsonp/jsonrenderer$', MockGETView.as_view(renderer_classes=[JSONRenderer, JSONPRenderer])),
      url(r'^jsonp/nojsonrenderer$', MockGETView.as_view(renderer_classes=[JSONPRenderer])),
    url(r'^parseerror$', MockPOSTView.as_view(renderer_classes=[JSONRenderer, BrowsableAPIRenderer])),
      url(r'^html$', HTMLView.as_view()),
      url(r'^html1$', HTMLView1.as_view()),
      url(r'^api', include('rest_framework.urls', namespace='rest_framework'))
  )
  
keep keep keep keep replace keep keep keep keep keep
 Catch and mask ParseErrors that occur during rendering of the BrowsableAPI. 
rest_framework/tests/test_renderers.py