'Test _xml_empty_tag() with attributes'

def test_xml_empty_tag_with_attributes(self):

    self.writer._xml_empty_tag('foo', [('span', '8')])
    exp = '<foo    span="8"/>'
    got = self.fh.getvalue()
    self.assertEqual(got, exp)
