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

Method test_format_year_head

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

Source from the content-addressed store, hash-verified

1306 self.cal.cssclass_year), self.cal.formatyear(2017))
1307
1308 def test_format_year_head(self):
1309 self.assertIn('<tr><th colspan="%d" class="%s">%s</th></tr>' % (
1310 3, self.cal.cssclass_year_head, 2017), self.cal.formatyear(2017))
1311
1312if __name__ == "__main__":
1313 unittest.main()

Callers

nothing calls this directly

Calls 2

assertInMethod · 0.80
formatyearMethod · 0.45

Tested by

no test coverage detected