We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43c5386 commit df1072fCopy full SHA for df1072f
1 file changed
tests/messages/test_pofile.py
@@ -544,11 +544,6 @@ def test_abort_invalid_po_file(self):
544
output = pofile.read_po(buf, locale='fr', abort_invalid=False)
545
assert isinstance(output, Catalog)
546
547
- # Catalog not created, aborted with PoFileError
548
- buf = StringIO(invalid_po_2)
549
- with pytest.raises(pofile.PoFileError):
550
- pofile.read_po(buf, locale='fr', abort_invalid=True)
551
-
552
def test_invalid_pofile_with_abort_flag(self):
553
parser = pofile.PoFileParser(None, abort_invalid=True)
554
lineno = 10
0 commit comments