(self)
| 92 | '%d emails sent.') |
| 93 | |
| 94 | def test_po_with_bom(self): |
| 95 | with temp_cwd(): |
| 96 | Path('bom.po').write_bytes(b'\xef\xbb\xbfmsgid "Python"\nmsgstr "Pioton"\n') |
| 97 | |
| 98 | res = assert_python_failure(msgfmt_py, 'bom.po') |
| 99 | err = res.err.decode('utf-8') |
| 100 | self.assertIn('The file bom.po starts with a UTF-8 BOM', err) |
| 101 | |
| 102 | def test_invalid_msgid_plural(self): |
| 103 | with temp_cwd(): |
nothing calls this directly
no test coverage detected