def check_htmlcalendar_encoding(self, req, res):
        cal = calendar.HTMLCalendar()
        self.assertEqual(
            cal.formatyearpage(2004, encoding=req).strip(b' \t\n'),
            ({'e': res} % result_2004_html).strip(' \t\n').encode(res)
        )
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_calendar.py/OutputTestCase.check_htmlcalendar_encoding/swapped operands of `%`