      def test_render_and_parse_complex_data(self):
          """
          Test XML rendering.
          """
          renderer = XMLRenderer(None)
          content = StringIO(renderer.render(self._complex_data, 'application/xml'))
  
          parser = XMLParser()
          complex_data_out = parser.parse(content)
          error_msg = "complex data differs!IN:\n %s \n\n OUT:\n %s" % (repr(self._complex_data), repr(complex_data_out))
 
</s> remove         renderer = XMLRenderer(None)
 </s> add         renderer = XMLRenderer() </s> remove         renderer = XMLRenderer(None)
 </s> add         renderer = XMLRenderer() </s> remove         renderer = XMLRenderer(None)
 </s> add         renderer = XMLRenderer() </s> remove         renderer = XMLRenderer(None)
 </s> add         renderer = XMLRenderer() </s> remove         renderer = XMLRenderer(None)
 </s> add         renderer = XMLRenderer()
        renderer = XMLRenderer()
      def test_render_and_parse_complex_data(self):
          """
          Test XML rendering.
          """
        renderer = XMLRenderer()
          content = StringIO(renderer.render(self._complex_data, 'application/xml'))
  
          parser = XMLParser()
          complex_data_out = parser.parse(content)
          error_msg = "complex data differs!IN:\n %s \n\n OUT:\n %s" % (repr(self._complex_data), repr(complex_data_out))
keep keep keep keep replace keep keep keep keep keep
 Make sure JSON output in Browseable API is nicely indented 
rest_framework/tests/renderers.py