The template file i created contains this:

{% if type({'a':1,'b':2}) is dict %}
    print "Oh Yes!!"
{% else %}
    print "Oh No!!!"
{% endif %}

Then Jinja2 responds by saying:

TemplateAssertionError: no test named 'dict'

I am completely new to Jinja2 and Flask

Edit
Report