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

Method test_format_year_head

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

Source from the content-addressed store, hash-verified

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>' % (
1181 3, self.cal.cssclass_year_head, 2017), self.cal.formatyear(2017))
1182
1183if __name__ == "__main__":
1184 unittest.main()

Callers

nothing calls this directly

Calls 2

assertInMethod · 0.80
formatyearMethod · 0.45

Tested by

no test coverage detected