MCPcopy Index your code
hub / github.com/python/cpython / test_format_html_year_with_month

Method test_format_html_year_with_month

Lib/test/test_calendar.py:537–541  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

535 self.assertEqual(out.getvalue().strip(), "1 2 3")
536
537 def test_format_html_year_with_month(self):
538 self.assertEqual(
539 calendar.HTMLCalendar().formatmonthpage(2009, 6).decode("ascii"),
540 result_2009_6_html
541 )
542
543
544class CalendarTestCase(unittest.TestCase):

Callers

nothing calls this directly

Calls 3

formatmonthpageMethod · 0.80
assertEqualMethod · 0.45
decodeMethod · 0.45

Tested by

no test coverage detected