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

Method test_output_textcalendar

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

Source from the content-addressed store, hash-verified

439 )
440
441 def test_output_textcalendar(self):
442 self.assertEqual(
443 calendar.TextCalendar().formatyear(2004),
444 result_2004_text
445 )
446 self.assertEqual(
447 calendar.TextCalendar().formatyear(0),
448 result_0_text
449 )
450
451 def test_output_htmlcalendar_encoding_ascii(self):
452 self.check_htmlcalendar_encoding('ascii', 'ascii')

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
formatyearMethod · 0.45

Tested by

no test coverage detected