def test_include(self):
        engine = Engine(loaders=[
            ('django.template.loaders.locmem.Loader', {
                'template': '{% for x in vars %}{% include "include" %}{% endfor %}',
                'include': '{% ifchanged %}{{ x }}{% endifchanged %}',
            }),
        ])
        output = engine.render_to_string('template', dict(vars=[1, 1, 2, 2, 3, 3]))
        self.assertEqual(output, "123")
#23516 -- This works as a regression test only if the cached loader
dataset/ETHPy150Open django/django/tests/template_tests/syntax_tests/test_if_changed.py/IfChangedTests.test_include