def test_macro_block_with_too_many_args(self):
        self.assertRaisesRegexp(
            template.TemplateSyntaxError,
            r"^.+ template tag was supplied too many "
            r"arg block tags.$",
            Template,
            self.LOAD_MACROS + self.MACRO3_DEFINITION +
            "{% macro_block macro3 %}"
                "{% macro_arg %}"
                    "contents one"
                "{% endmacro_arg %}"
                "{% macro_arg %}"
                    "contents two"
                "{% endmacro_arg %}"
            "{% endmacro_block %}")
if macro_block is called with more args than
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/MacrosTests.test_macro_block_with_too_many_args