(self)
| 366 | # These are redundant, but we need them for black-box completeness. |
| 367 | |
| 368 | def test_parser(self): |
| 369 | p = email.parser.Parser(policy=self.MyPolicy) |
| 370 | with self.assertRaisesRegex(TestException, "^test$"): |
| 371 | p.parsestr('Subject: test\n\n') |
| 372 | |
| 373 | def test_bytes_parser(self): |
| 374 | p = email.parser.BytesParser(policy=self.MyPolicy) |
nothing calls this directly
no test coverage detected