(self)
| 371 | p.parsestr('Subject: test\n\n') |
| 372 | |
| 373 | def test_bytes_parser(self): |
| 374 | p = email.parser.BytesParser(policy=self.MyPolicy) |
| 375 | with self.assertRaisesRegex(TestException, "^test$"): |
| 376 | p.parsebytes(b'Subject: test\n\n') |
| 377 | |
| 378 | # Now that we've established that all the parse methods get the |
| 379 | # policy in to feedparser, we can use message_from_string for |
nothing calls this directly
no test coverage detected