MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_prmonth

Method test_prmonth

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

Source from the content-addressed store, hash-verified

482 self.assertEqual(out.getvalue(), " 1 2 3 4 5 6 7")
483
484 def test_prmonth(self):
485 with support.captured_stdout() as out:
486 calendar.TextCalendar().prmonth(2004, 1)
487 self.assertEqual(out.getvalue(), result_2004_01_text)
488
489 def test_pryear(self):
490 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