(self)
| 1664 | self._check_sample(msg) |
| 1665 | |
| 1666 | def test_date(self): |
| 1667 | # Use get_date() and set_date() |
| 1668 | msg = mailbox.MaildirMessage(_sample_message) |
| 1669 | self.assertLess(abs(msg.get_date() - time.time()), 60) |
| 1670 | msg.set_date(0.0) |
| 1671 | self.assertEqual(msg.get_date(), 0.0) |
| 1672 | |
| 1673 | def test_info(self): |
| 1674 | # Use get_info() and set_info() |
nothing calls this directly
no test coverage detected