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 |
- |
|
|