def METHOD_NAME(self):
    """Test _xml_start_tag() with attributes"""
    self.writer._xml_start_tag("foo", [("span", "8"), ("baz", "7")])
    exp = """<foo span="8" baz="7">"""
    got = self.fh.getvalue()
    self.assertEqual(got, exp)