Path 1: 113 calls (0.5)

Flask (111) test_custom_template_loader..MyFlask (1) test_custom_jinja_env..CustomFlask (1)

dict (113)

1def __init__(self, app: Flask, **options: t.Any) -> None:
2        if "loader" not in options:
3            options["loader"] = app.create_global_jinja_loader()
4        BaseEnvironment.__init__(self, **options)
5        self.app = app
            

Path 2: 113 calls (0.5)

'{%' (113)

'%}' (113)

'{{' (113)

'}}' (113)

'{#' (113)

'#}' (113)

None (113)

None (113)

False (113)

False (113)

'\n' (113)

False (113)

() (113)

True (113)

Undefined def (113)

None (113)

Flask.select_jinja_autoescape def (113)

DispatchingJinjaLoader (112) DictLoader (1)

400 (113)

False (88) True (25)

None (113)

False (113)

1def __init__(self, app: Flask, **options: t.Any) -> None:
2        if "loader" not in options:
3            options["loader"] = app.create_global_jinja_loader()
4        BaseEnvironment.__init__(self, **options)
5        self.app = app