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

Method test_formatweek

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

Source from the content-addressed store, hash-verified

1292
1293
1294 def test_formatweek(self):
1295 weeks = self.cal.monthdays2calendar(2017, 5)
1296 self.assertIn('class="wed text-nowrap"', self.cal.formatweek(weeks[0]))
1297
1298 def test_formatweek_head(self):
1299 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