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