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

Method test_prmonth

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

Source from the content-addressed store, hash-verified

520 self.assertEqual(out.getvalue(), " 1 2 3 4 5 6 7")
521
522 def test_prmonth(self):
523 with support.captured_stdout() as out:
524 calendar.TextCalendar().prmonth(2004, 1)
525 self.assertEqual(out.getvalue(), result_2004_01_text)
526
527 def test_pryear(self):
528 with support.captured_stdout() as out:

Callers

nothing calls this directly

Calls 3

prmonthMethod · 0.80
assertEqualMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected