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

Method test_formatmonth

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

Source from the content-addressed store, hash-verified

1281 self.cal.formatmonthname(2017, 5))
1282
1283 def test_formatmonth(self):
1284 self.assertIn('class="text-center month"',
1285 self.cal.formatmonth(2017, 5))
1286
1287 def test_formatmonth_with_invalid_month(self):
1288 with self.assertRaises(calendar.IllegalMonthError):

Callers

nothing calls this directly

Calls 2

assertInMethod · 0.80
formatmonthMethod · 0.45

Tested by

no test coverage detected