Skip to content
Myr

Merge branch '3.0.x'

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

authored by David Lord · committed by David Lord · parents b16028c, a83aded · Browse files · 5 files+10 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

5 files+10 added−6 removed

  • tests:+6 added−3 removed
  • other:+4 added−3 removed

5 files+10 added−6 removed

modified:.github/workflows/tests.yaml+1 added
modified:requirements/dev.txt+1 added-1 removed
64 unmodified lines
65 # pytest66 # tox67pre-commit==2.15.068 # via -r requirements/dev.in69py==1.10.069py==1.11.070 # via71 # pytest72 # tox73pygments==2.10.0
63 unmodified lines
modified:requirements/tests.txt+1 added-1 removed
10 unmodified lines
11packaging==21.212 # via pytest13pluggy==1.0.014 # via pytest15py==1.10.015py==1.11.016 # via pytest17pyparsing==2.4.718 # via packaging19pytest==6.2.5
3 unmodified lines
modified:tests/test_debug.py+6 added-3 removed
34 unmodified lines
35 self.assert_traceback_matches(36 test,37 r"""38 File ".*?broken.html", line 2, in (top-level template code|<module>)39 \{\{ fail\(\) \}\}39 \{\{ fail\(\) \}\}(40 \^{12})?41 File ".*debug?.pyc?", line \d+, in <lambda>41 tmpl\.render\(fail=lambda: 1 / 0\)42 tmpl\.render\(fail=lambda: 1 / 0\)(43 ~~\^~~)?44ZeroDivisionError: (int(eger)? )?division (or modulo )?by zero45""",46 )47
19 unmodified lines
67 self.assert_traceback_matches(68 test,69 r"""70 File ".*debug.pyc?", line \d+, in test69 raise TemplateSyntaxError\("wtf", 42\)71 raise TemplateSyntaxError\("wtf", 42\)(72 \^{36})?73(jinja2\.exceptions\.)?TemplateSyntaxError: wtf74 line 42""",75 )76
41 unmodified lines
modified:tox.ini+1 added-1 removed
1[tox]2envlist =3 py{310,39,38,37,36,py37}3 py{311,310,39,38,37,36,py37}4 style5 typing6 docs7skip_missing_interpreters = true
17 unmodified lines