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

Method test_formatmonthname_without_year

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

Source from the content-addressed store, hash-verified

508 )
509
510 def test_formatmonthname_without_year(self):
511 self.assertEqual(
512 calendar.HTMLCalendar().formatmonthname(2004, 1, withyear=False),
513 '<tr><th colspan="7" class="month">January</th></tr>'
514 )
515
516 def test_prweek(self):
517 with support.captured_stdout() as out:

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
formatmonthnameMethod · 0.45

Tested by

no test coverage detected