          content = template.render({'name': 'world'})
          self.assertEqual(content, "Hello world!\n")
  
      def test_get_template_non_existing(self):
          with self.assertRaises(TemplateDoesNotExist):
              self.engine.get_template('template_backends/non_existing.html')
  
      def test_get_template_syntax_error(self):
          # There's no way to trigger a syntax error with the dummy backend.
          # The test still lives here to factor it between other backends.
 
</s> remove         tried = []
 </s> add         chain = [] </s> remove             e.exception.tried[-1][0].template_name,
 </s> add             e.exception.chain[-1].tried[0][0].template_name,
        with self.assertRaises(TemplateDoesNotExist) as e:
          content = template.render({'name': 'world'})
          self.assertEqual(content, "Hello world!\n")
  
      def test_get_template_non_existing(self):
        with self.assertRaises(TemplateDoesNotExist) as e:
              self.engine.get_template('template_backends/non_existing.html')
  
      def test_get_template_syntax_error(self):
          # There's no way to trigger a syntax error with the dummy backend.
          # The test still lives here to factor it between other backends.
keep keep keep keep replace keep keep keep keep keep
 Fixed #24119, #24120 -- Formalized debug integration for template backends. 
tests/template_backends/test_dummy.py