def test_repeat_having_no_block(self):
        self.assertRaisesRegexp(
            template.TemplateSyntaxError,
            r"^No repeated block .+ tag was found before the .+ tag$",
            Template,
            # call Template on the following string/template
            self.LOAD_STRING + self.REPEAT_RBLOCK_2)
If repeat is called without a repeated block
dataset/ETHPy150Open nalourie/django-macros/build/lib/macros/tests.py/RepeatedBlocksTagsTests.test_repeat_having_no_block