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

Method test_pryear

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

Source from the content-addressed store, hash-verified

525 self.assertEqual(out.getvalue(), result_2004_01_text)
526
527 def test_pryear(self):
528 with support.captured_stdout() as out:
529 calendar.TextCalendar().pryear(2004)
530 self.assertEqual(out.getvalue(), result_2004_text)
531
532 def test_format(self):
533 with support.captured_stdout() as out:

Callers

nothing calls this directly

Calls 3

pryearMethod · 0.80
assertEqualMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected