summaryrefslogtreecommitdiff
path: root/tests/test_debug.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '2.11.x'David Lord2020-02-051-1/+0
|\
| * remove custom pytest marksDavid Lord2020-02-051-1/+0
| |
* | apply pyupgrade and f-stringsDavid Lord2020-02-051-6/+4
|/
* Revert "rename imports to jinja"David Lord2020-01-261-8/+8
| | | | This reverts commit 1167525b73863119f8bbec03ddb9d35eacff4bef.
* rename imports to jinjaDavid Lord2020-01-101-8/+8
|
* simplify module docstringsstyleDavid Lord2020-01-101-9/+0
|
* apply flake8David Lord2020-01-101-14/+13
|
* apply blackDavid Lord2020-01-101-33/+49
|
* apply reorder-python-importsDavid Lord2020-01-101-3/+4
|
* TemplateSyntaxError can be pickledAndrew Rabert2020-01-081-0/+7
|
* TemplateSyntaxError from included template has sourceDavid Lord2019-12-031-4/+19
|
* rewrite traceback rewriting supportDavid Lord2019-12-021-2/+2
| | | | | | | | | | | | | Simplify the `jinja.debug` code. On Python >= 3.7, `tb_next` is directly assignable. On PyPy, use transparent proxies only if support is enabled. For cpython < 3.7, use ctypes to set `tb_next`. Rewrite the ctypes code to use `py_object` and `pythonapi.Py_IncRef`, which seems to avoid crashing on debug builds. On Python 3, a rewritten `TemplateSyntaxError` would retain the frames from the compiler functions for some reason. Clear these so the template source is the last thing in the traceback.
* Add test for Template.get_corresponding_lineno()Mr. Senko2017-01-291-0/+4
| | | | this currently breaks with an exception inside Jinja
* Remove unused/duplicate importsAdrian Moennich2017-01-091-2/+0
|
* Bump up the copyright to 2017Armin Ronacher2017-01-071-1/+1
|
* Changed behavior of local extractionArmin Ronacher2017-01-031-2/+3
|
* Fixed debug support locals for new behaviorArmin Ronacher2017-01-031-1/+13
|
* Rename testsuite to tests and suggestionsKartheek Lenkala2015-03-221-0/+73
| | | | | Remove py.test from setup.py install_requires Rename testsuite folder to tests.
* Removed old testsuite.Armin Ronacher2010-02-091-51/+0
| | | | | --HG-- branch : trunk
* Improved test invokation. Picks up doctests within Jinja now, changedArmin Ronacher2010-02-071-3/+3
| | | | | | | | doctests that just show usage that would not work on their own so that they are standard code blocks now and do not disturb testing. --HG-- branch : trunk
* Got rid of py.testisms.Armin Ronacher2009-07-261-8/+2
| | | | | --HG-- branch : trunk
* Support nose framework for the whole test suite.Rene Leonhardt2009-04-201-5/+13
| | | | | --HG-- branch : trunk
* Improved Jinja's debugging support by introducing "@internalcode" which ↵Armin Ronacher2009-02-241-1/+13
| | | | | | | marks code objects that are skipped on tracebacks. Also template errors are now translated as well to help the pylons debugger. --HG-- branch : trunk
* Copyright switch to "The Jinja Team".Armin Ronacher2009-01-041-1/+1
| | | | | --HG-- branch : trunk
* Various cleanups and added custom cycler.Armin Ronacher2008-10-051-2/+2
| | | | | --HG-- branch : trunk
* even more tests, fixed severe bug with autoescaping.Armin Ronacher2008-05-251-0/+37
--HG-- branch : trunk