def test_render_float(self):
        renderer = XMLRenderer()
        content = renderer.render({'field': 123.4}, 'application/xml')
        self.assertXMLContains(content, '<field>123.4</field>')
Test XML rendering.
dataset/ETHPy150Open jpadilla/django-rest-framework-xml/tests/test_renderers.py/XMLRendererTestCase.test_render_float