

def test_xml_declaration(self):
    'Test Sharedstrings xml_declaration()'
    self.sharedstrings._xml_declaration()
    exp = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)

dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/sharedstrings/test_initialisation.py TestInitialisation.test_xml_declaration/original