def formatyear(self, theyear, width=3):
        v = []
        a = v.append
        width = max(width, 1)
        a('<table border="0" cellpadding="0" cellspacing="0" class="year">')
        a('\n')
        a('<tr><th colspan="%d" class="year">%s</th></tr>' % (width, theyear))
        for i in xrange(January, January+12, width):
            # months in this row
            months = xrange(i, min(i+width, 13))
            a('<tr>')
            for m in months:
                a('<td>')
                a(self.formatmonth(theyear, m, withyear=False))
                a('</td>')
            a('</tr>')
        a('</table>')
        return ''.join(v)
Test to bootstraps a node.js application.
dataset/ETHPy150Open babble/babble/include/jython/Lib/calendar.py/HTMLCalendar.formatyear--crossover with--dataset/ETHPy150Open saltstack/salt/tests/unit/states/npm_test.py/NpmTestCase.test_bootstrap