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

Method test_format_year

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

Source from the content-addressed store, hash-verified

1301 self.assertIn('<th class="%s">' % color, header)
1302
1303 def test_format_year(self):
1304 self.assertIn(
1305 ('<table class="%s">' %
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>' % (

Callers

nothing calls this directly

Calls 2

assertInMethod · 0.80
formatyearMethod · 0.45

Tested by

no test coverage detected