diff --git a/tests/unit_tests.py b/tests/unit_tests.py index ed4bb046..48fef5f0 100644 --- a/tests/unit_tests.py +++ b/tests/unit_tests.py @@ -387,7 +387,10 @@ def test_external(): teststring = f.read() assert extract(teststring, no_fallback=True, include_tables=False) == '' assert extract(teststring, no_fallback=False, include_tables=False) == '' - + # invalid XML attributes: namespace colon in attribute key (issue #375). Those attributes should be stripped + bad_xml = 'Testing