Module Expr Str Import alias ImportFrom alias alias ImportFrom alias alias Assign NameStore Call NameLoad keyword NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args defaults BinOpDiv Num Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Raise Call NameLoad Str Num decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list
N/A N/A 
    jinja2.testsuite.debug
    ~~~~~~~~~~~~~~~~~~~~~~

    Tests the debug system.

    :copyright: (c) 2010 by the Jinja Team.
    :license: BSD, see LICENSE for more details.
 N/A unittest jinja2.testsuite JinjaTestCase filesystem_loader jinja2 Environment TemplateSyntaxError N/A env N/A Environment loader filesystem_loader DebugTestCase N/A JinjaTestCase N/A test_runtime_error N/A N/A self N/A N/A test N/A N/A N/A N/A N/A N/A N/A tmpl render fail N/A N/A N/A N/A N/A 1 0 N/A N/A tmpl N/A N/A env get_template broken.html N/A N/A N/A self assert_traceback_matches test 
  File ".*?broken.html", line 2, in (top-level template code|<module>)
    \{\{ fail\(\) \}\}
  File ".*?debug.pyc?", line \d+, in <lambda>
    tmpl\.render\(fail=lambda: 1 / 0\)
ZeroDivisionError: (int(eger)? )?division (or modulo )?by zero
 N/A test_syntax_error N/A N/A self N/A N/A N/A N/A N/A self assert_traceback_matches N/A N/A N/A N/A N/A N/A env get_template syntaxerror.html (?sm)
  File ".*?syntaxerror.html", line 4, in (template|<module>)
    \{% endif %\}.*?
(jinja2\.exceptions\.)?TemplateSyntaxError: Encountered unknown tag 'endif'. Jinja was looking for the following tags: 'endfor' or 'else'. The innermost block that needs to be closed is 'for'.
     N/A test_regular_syntax_error N/A N/A self N/A N/A test N/A N/A N/A N/A N/A N/A TemplateSyntaxError wtf 42 N/A N/A N/A N/A self assert_traceback_matches test 
  File ".*debug.pyc?", line \d+, in test
    raise TemplateSyntaxError\('wtf', 42\)
(jinja2\.exceptions\.)?TemplateSyntaxError: wtf
  line 42 N/A N/A suite N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A N/A unittest makeSuite DebugTestCase N/A suite N/A