(self)
| 520 | self.assertEqual(out.getvalue(), " 1 2 3 4 5 6 7") |
| 521 | |
| 522 | def test_prmonth(self): |
| 523 | with support.captured_stdout() as out: |
| 524 | calendar.TextCalendar().prmonth(2004, 1) |
| 525 | self.assertEqual(out.getvalue(), result_2004_01_text) |
| 526 | |
| 527 | def test_pryear(self): |
| 528 | with support.captured_stdout() as out: |
nothing calls this directly
no test coverage detected