def test_brokenAttributeValue(self):
        """
        Check that microdom encompasses broken attribute values.
        """
        input = '<body><h1><div align="cen!\n ter">Foo</div></h1></body>'
        expected = '<body><h1><div align="cen!\n ter">Foo</div></h1></body>'
        self.checkParsed(input, expected)

        Check that microdom encompasses broken attribute values.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_xml.py