Home
last modified time | relevance | path

Searched refs:UndefinedError (Results 1 – 16 of 16) sorted by relevance

/external/python/jinja/tests/
Dtest_api.py18 from jinja2 import UndefinedError
119 with pytest.raises(UndefinedError):
122 with pytest.raises(UndefinedError):
125 with pytest.raises(UndefinedError):
264 pytest.raises(UndefinedError, t.render, test=test)
282 with pytest.raises(UndefinedError):
298 pytest.raises(UndefinedError, env.from_string("{{ missing.attribute }}").render)
314 pytest.raises(UndefinedError, env.from_string("{{ missing.attribute }}").render)
319 pytest.raises(UndefinedError, env.from_string("{{ missing - 1}}").render)
336 pytest.raises(UndefinedError, env.from_string("{{ missing - 1}}").render)
[all …]
Dtest_nativetypes.py5 from jinja2.exceptions import UndefinedError
29 with pytest.raises(UndefinedError):
Dtest_imports.py7 from jinja2.exceptions import UndefinedError
98 with pytest.raises(UndefinedError, match="does not export the requested name"):
Dtest_async.py11 from jinja2.exceptions import UndefinedError
447 pytest.raises(UndefinedError, tmpl.render)
Dtest_core_tags.py7 from jinja2 import UndefinedError
205 pytest.raises(UndefinedError, tmpl.render)
Dtest_filters.py9 from jinja2 import UndefinedError
370 with pytest.raises(UndefinedError):
Dtest_lexnparse.py7 from jinja2 import UndefinedError
446 pytest.raises(UndefinedError, tmpl.render)
/external/libchrome/third_party/jinja2/
D__init__.py49 from jinja2.exceptions import TemplateError, UndefinedError, \
Dexceptions.py133 class UndefinedError(TemplateRuntimeError): class
Druntime.py19 from jinja2.exceptions import UndefinedError, TemplateRuntimeError, \
609 def __init__(self, hint=None, obj=missing, name=None, exc=UndefinedError):
/external/python/jinja/src/jinja2/
D__init__.py19 from .exceptions import UndefinedError
Dexceptions.py134 class UndefinedError(TemplateRuntimeError): class
Druntime.py13 from .exceptions import UndefinedError
696 def __init__(self, hint=None, obj=missing, name=None, exc=UndefinedError):
Denvironment.py35 from .exceptions import UndefinedError
872 except (TemplateNotFound, UndefinedError):
/external/python/jinja/docs/
Dapi.rst153 exception is :exc:`UndefinedError`. If a `hint` is provided the
301 is usually one of :exc:`UndefinedError` or :exc:`SecurityError`.
619 .. autoexception:: jinja2.UndefinedError
/external/python/jinja/
DCHANGES.rst157 ``UndefinedError`` consistently. ``select_template`` will show the