MCPcopy Create free account
hub / github.com/RustPython/RustPython / test_output_textcalendar

Method test_output_textcalendar

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

Source from the content-addressed store, hash-verified

401 )
402
403 def test_output_textcalendar(self):
404 self.assertEqual(
405 calendar.TextCalendar().formatyear(2004),
406 result_2004_text
407 )
408 self.assertEqual(
409 calendar.TextCalendar().formatyear(0),
410 result_0_text
411 )
412
413 def test_output_htmlcalendar_encoding_ascii(self):
414 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