              renderer = YAMLRenderer(None)
              parser = YAMLParser()
  
              content = renderer.render(obj, 'application/yaml')
              (data, files) = parser.parse(StringIO(content))
              self.assertEquals(obj, data)
  
  
  class XMLRendererTestCase(TestCase):
      """
 
</s> remove         (data, files) = parser.parse(stream)
 </s> add         data = parser.parse(stream) </s> remove         complex_data_out, dummy = parser.parse(content)
 </s> add         complex_data_out = parser.parse(content) </s> remove         (data, files) = parser.parse(self._input)
 </s> add         data = parser.parse(self._input) </s> remove         (data, files) = parser.parse(self._complex_data_input)
 </s> add         data = parser.parse(self._complex_data_input) </s> remove             return parser.parse()
 </s> add             data, files = parser.parse()
            return DataAndFiles(data, files)
            data = parser.parse(StringIO(content))
              renderer = YAMLRenderer(None)
              parser = YAMLParser()
  
              content = renderer.render(obj, 'application/yaml')
            data = parser.parse(StringIO(content))
              self.assertEquals(obj, data)
  
  
  class XMLRendererTestCase(TestCase):
      """
keep keep keep keep replace keep keep keep keep keep
 Parsers may return raw data, or a DataAndFiles object 
djangorestframework/tests/renderers.py