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

Method test_formatweek_head

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

Source from the content-addressed store, hash-verified

1296 self.assertIn('class="wed text-nowrap"', self.cal.formatweek(weeks[0]))
1297
1298 def test_formatweek_head(self):
1299 header = self.cal.formatweekheader()
1300 for color in self.cal.cssclasses_weekday_head:
1301 self.assertIn('<th class="%s">' % color, header)
1302
1303 def test_format_year(self):
1304 self.assertIn(

Callers

nothing calls this directly

Calls 2

assertInMethod · 0.80
formatweekheaderMethod · 0.45

Tested by

no test coverage detected