code: def test_include_syntax_error_source(self, filesystem_loader):
      e = Environment(
          loader=ChoiceLoader(
              [
                  filesystem_loader,
                  DictLoader(
                      {"inc": "a\n{% include 'syntaxerror.html' %}\nb"}
                  ),
              ]
          )
      )
      t = e.get_template("inc")
  
      with pytest.raises(TemplateSyntaxError) as exc_info:
          t.render()
  
      assert exc_info.value.source is not None
  
file_path: catboost/contrib/python/Jinja2/py3/tests/test_debug.py
imports: import pickle
  import re
  from traceback import format_exception
  import pytest
  from jinja2 import ChoiceLoader
  from jinja2 import DictLoader
  from jinja2 import Environment
  from jinja2 import TemplateSyntaxError
label_desc: Use image node_id 6 for calling the TestDebug obj's underlying member method code with example usage: obj.test_include_syntax_error_source(filesystem_loader) without return types