code: def test_regular_syntax_error(self, fs_env):
      def test():
          raise TemplateSyntaxError("wtf", 42)
  
      self.assert_traceback_matches(
          test,
          r"""
    File ".*debug.pyc?", line \d+, in test
      raise TemplateSyntaxError\("wtf", 42\)(
      \^{36})?
  (jinja2\.exceptions\.)?TemplateSyntaxError: wtf
    line 42""",
      )
  
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 4 for calling the TestDebug obj's underlying member method code with example usage: obj.test_regular_syntax_error(fs_env) without return types