def test_formatmonth(self): self.assertEqual( calendar.TextCalendar().formatmonth(2004, 1).strip(), result_2004_01_text.strip() )