Skip to content
Myr

We don't support 2.4 anymore.

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

authored by Cory Benfield · committed by Cory Benfield · parent 28579a6 · Browse files · 1 file+5 added−6 removed
This commit

State

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

Diff stats

1 file+5 added−6 removed

  • other:+5 added−6 removed

1 file+5 added−6 removed

modified:jinja2/testsuite/debug.py+5 added-6 removed
18 unmodified lines
192021class DebugTestCase(JinjaTestCase):2223 if sys.version_info[:2] != (2, 4):24 def test_runtime_error(self):25 def test():26 tmpl.render(fail=lambda: 1 / 0)27 tmpl = env.get_template('broken.html')28 self.assert_traceback_matches(test, r'''23 def test_runtime_error(self):24 def test():25 tmpl.render(fail=lambda: 1 / 0)26 tmpl = env.get_template('broken.html')27 self.assert_traceback_matches(test, r'''28 File ".*?broken.html", line 2, in (top-level template code|<module>)29 \{\{ fail\(\) \}\}30 File ".*?debug.pyc?", line \d+, in <lambda>31 tmpl\.render\(fail=lambda: 1 / 0\)
28 unmodified lines