Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Unified Diff: third_party/jinja2/meta.py

Issue 2316103002: binding: Updates Jinja2 from 2.7.1 to 2.8. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/jinja2/loaders.py ('k') | third_party/jinja2/nodes.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/jinja2/meta.py
diff --git a/third_party/jinja2/meta.py b/third_party/jinja2/meta.py
index 3110cff6066a0160df1b01c63b117afd60245288..3dbab7c22d5dbaa92a2daba71b4c1500c7c5880d 100644
--- a/third_party/jinja2/meta.py
+++ b/third_party/jinja2/meta.py
@@ -39,8 +39,8 @@ def find_undeclared_variables(ast):
>>> from jinja2 import Environment, meta
>>> env = Environment()
>>> ast = env.parse('{% set foo = 42 %}{{ bar + foo }}')
- >>> meta.find_undeclared_variables(ast)
- set(['bar'])
+ >>> meta.find_undeclared_variables(ast) == set(['bar'])
+ True
.. admonition:: Implementation
« no previous file with comments | « third_party/jinja2/loaders.py ('k') | third_party/jinja2/nodes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698