]> git.ipfire.org Git - thirdparty/jinja.git/commit
Fix handling of tests which check constants
authorKevin Brown <kevin@kevin-brown.com>
Fri, 15 May 2020 00:04:57 +0000 (20:04 -0400)
committerKevin Brown <kevin@kevin-brown.com>
Fri, 15 May 2020 00:04:57 +0000 (20:04 -0400)
commit23a145dc2d7cfdd73c4c7022e0d620bfcd27e8fb
tree588cf46b6686b99756db8c8fde43f148703dae7c
parente5d018fdef9db1e2a4fd554fd35b08b53a35abc3
Fix handling of tests which check constants

Because of how the parser works, it does not differentiate between
constants and function names, so this needs to convert it back.
src/jinja2/new_parser.py