MCPcopy Create free account
hub / github.com/RustPython/RustPython / test_format_year

Method test_format_year

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

Source from the content-addressed store, hash-verified

1172 self.assertIn('<th class="%s">' % color, header)
1173
1174 def test_format_year(self):
1175 self.assertIn(
1176 ('<table border="0" cellpadding="0" cellspacing="0" class="%s">' %
1177 self.cal.cssclass_year), self.cal.formatyear(2017))
1178
1179 def test_format_year_head(self):
1180 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