

def assert_renders(self, tmpl, context, value):
    tmpl = Template(tmpl)
    tmpl.assertEqual(tmpl.render(context), value)

dataset/ETHPy150Open alex/django-templatetag-sugar/templatetag_sugar/tests/tests.py SugarTestCase.assert_renders/VarMisuse@23/26 `self`->`tmpl`