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 666-672 class MalformedInputTest(unittest.TestCase): Link Here
666
            parser.Parse(xml, True)
666
            parser.Parse(xml, True)
667
            self.fail()
667
            self.fail()
668
        except expat.ExpatError as e:
668
        except expat.ExpatError as e:
669
            self.assertEqual(str(e), 'XML declaration not well-formed: line 1, column 14')
669
            self.assertIn(str(e), [
670
                    'XML declaration not well-formed: line 1, column 13',
671
                    'XML declaration not well-formed: line 1, column 14',
672
                    ])
670
673
671
class ErrorMessageTest(unittest.TestCase):
674
class ErrorMessageTest(unittest.TestCase):
672
    def test_codes(self):
675
    def test_codes(self):
673
- 

Return to bug 586742