Skip to content
Myr

Fixed a docstring and a syntax error on 3.3

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent c87d4cf · Browse files · 2 files+4 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−4 removed

  • other:+4 added−4 removed

2 files+4 added−4 removed

modified:jinja2/testsuite/inheritance.py+1 added-1 removed
237 unmodified lines
238 raises a ``TemplateError``.239 """240 try:241 tmpl = env.get_template('doublee')242 except Exception, e:242 except Exception as e:243 assert isinstance(e, TemplateError)244245246def suite():
4 unmodified lines
modified:jinja2/_compat.py+3 added-3 removed
2 unmodified lines
3 jinja2._compat4 ~~~~~~~~~~~~~~56 Some py2/py3 compatibility support that is not yet available in7 "six" 1.3.0.8 There are bugs open for "six" for all this stuff, so we can remove it9 again from here as soon as we require a new enough "six" release.7 "six" 1.3.0. Generally all uses of six should go through this module8 so that we have one central place to remove stuff from when we9 eventually drop 2.x.1011 :copyright: Copyright 2013 by the Jinja team, see AUTHORS.12 :license: BSD, see LICENSE for details.13"""
11 unmodified lines