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

Method test_pryear

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

Source from the content-addressed store, hash-verified

487 self.assertEqual(out.getvalue(), result_2004_01_text)
488
489 def test_pryear(self):
490 with support.captured_stdout() as out:
491 calendar.TextCalendar().pryear(2004)
492 self.assertEqual(out.getvalue(), result_2004_text)
493
494 def test_format(self):
495 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