def test_macro_block_with_no_macro_definition(self):
        self.assertRaisesRegexp(
            template.TemplateSyntaxError,
            r"^Macro .+ is not defined previously to the .+ tag$",
            Template,
            self.LOAD_MACROS + "{% macro_block macro3 %}{% endmacro_block %}")
if macro_block is called on a macro that hasn't
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/MacrosTests.test_macro_block_with_no_macro_definition