Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 586742 | Differences between
and this patch

Collapse All | Expand All

(-)a/Lib/test/test_pyexpat.py (-2 / +4 lines)
Lines 614-620 class MalformedInputText(unittest.TestCase): Link Here
614
            parser.Parse(xml, True)
614
            parser.Parse(xml, True)
615
            self.fail()
615
            self.fail()
616
        except expat.ExpatError as e:
616
        except expat.ExpatError as e:
617
            self.assertEqual(str(e), 'XML declaration not well-formed: line 1, column 14')
617
            self.assertIn(str(e), [
618
                    'XML declaration not well-formed: line 1, column 13',
619
                    'XML declaration not well-formed: line 1, column 14',
620
                    ])
618
621
619
class ForeignDTDTests(unittest.TestCase):
622
class ForeignDTDTests(unittest.TestCase):
620
    """
623
    """
621
- 

Return to bug 586742