(self)
| 111 | 'YWwuIE3hciByZW5kZWx06Ww/?=\n\n') |
| 112 | |
| 113 | def test_add_nonascii_string_header_raises(self): |
| 114 | with self.assertRaisesRegex(ValueError, "ASCII-only"): |
| 115 | self._box.add(self._nonascii_msg) |
| 116 | self._box.flush() |
| 117 | self.assertEqual(len(self._box), 0) |
| 118 | self.assertMailboxEmpty() |
| 119 | |
| 120 | def test_add_that_raises_leaves_mailbox_empty(self): |
| 121 | class CustomError(Exception): ... |
nothing calls this directly
no test coverage detected