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

Method test_formatweek

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

Source from the content-addressed store, hash-verified

1163
1164
1165 def test_formatweek(self):
1166 weeks = self.cal.monthdays2calendar(2017, 5)
1167 self.assertIn('class="wed text-nowrap"', self.cal.formatweek(weeks[0]))
1168
1169 def test_formatweek_head(self):
1170 header = self.cal.formatweekheader()

Callers

nothing calls this directly

Calls 3

monthdays2calendarMethod · 0.80
assertInMethod · 0.80
formatweekMethod · 0.45

Tested by

no test coverage detected