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

Method test_formatweek_head

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

Source from the content-addressed store, hash-verified

1167 self.assertIn('class="wed text-nowrap"', self.cal.formatweek(weeks[0]))
1168
1169 def test_formatweek_head(self):
1170 header = self.cal.formatweekheader()
1171 for color in self.cal.cssclasses_weekday_head:
1172 self.assertIn('<th class="%s">' % color, header)
1173
1174 def test_format_year(self):
1175 self.assertIn(

Callers

nothing calls this directly

Calls 2

assertInMethod · 0.80
formatweekheaderMethod · 0.45

Tested by

no test coverage detected