def test_macro_raises_variable_missing_exception(self):
        # argument only throws error when the template is
        # actually rendered, because that is when variables
        # are resolved into contexts.
        t = Template(self.LOAD_MACROS +
            "{% macro some_macro kwarg=foo %}text{% endmacro %}")
        self.assertRaises(
            template.VariableDoesNotExist,
            t.render,
            Context({}))
if a macro tag is called with a default set to
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/MacrosTests.test_macro_raises_variable_missing_exception