| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Moved imports from test to top of file. | Maurits van Rees | 2022-11-09 | 1 | -11/+8 |
| | | |||||
| * | Test that Python 3.11 co_positions works in our DummyFrame. | Maurits van Rees | 2022-11-08 | 2 | -4/+10 |
| | | |||||
| * | Catch exceptions in formatExceptionOnly. | Maurits van Rees | 2022-11-08 | 2 | -1/+49 |
| | | | | | | Getting an exception when reporting about a different exception is not helpful. On Python 3.11 this is needed for some HTTPErrors. | ||||
| * | Fix tests on Python 3.11. | Maurits van Rees | 2022-11-08 | 1 | -0/+9 |
| | | | | | | | | For DummyTraceback we need tb_lasti. For DummyFrame we need co_positions. See https://docs.python.org/3/reference/datamodel.html#traceback-objects and https://docs.python.org/3/reference/datamodel.html#codeobject.co_positions | ||||
| * | tox -e isort-apply | Maurits van Rees | 2022-11-08 | 5 | -13/+19 |
| | | |||||
| * | More adaption to Python 3.10 syntax error message | Ben Greiner | 2022-02-11 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ python2.7 -c 'syntax error' File "<string>", line 1 syntax error ^ SyntaxError: invalid syntax $ python3.6 -c 'syntax error' File "<string>", line 1 syntax error ^ SyntaxError: invalid syntax $ python3.8 -c 'syntax error' File "<string>", line 1 syntax error ^ SyntaxError: invalid syntax $ python3.9 -c 'syntax error' File "<string>", line 1 syntax error ^ SyntaxError: invalid syntax $ python3.10 -c 'syntax error' File "<string>", line 1 syntax error ^^^^^ SyntaxError: invalid syntax | ||||
| * | Make linter happy. | Michael Howitz | 2021-06-01 | 1 | -1/+2 |
| | | |||||
| * | Config with pure python (#20) | Michael Howitz | 2021-06-01 | 1 | -4/+4 |
| | | | | | | * Add official support for Python 3.9. * Undo dropping support for Python 3.5. * Drop support for running the tests using `python setup.py test`. | ||||
| * | Adapt to python 3.10 SyntaxError messages (#19) | Arthur Zamarin | 2021-06-01 | 1 | -1/+1 |
| | | | | Co-authored-by: Marius Gedminas <marius@gedmin.as> | ||||
| * | Add preliminary support for Python 3.9 (#16) | Michael Howitz | 2020-07-16 | 2 | -2/+9 |
| | | | | | * Adapt tests to Python 3.9. * Drop support for Python 3.5 as its sunset is in some months. | ||||
| * | A better way to suppress unused import warnings | Marius Gedminas | 2020-04-10 | 2 | -3/+15 |
| | | |||||
| * | Roll back some of the changes as per review comments | Marius Gedminas | 2020-04-10 | 2 | -22/+16 |
| | | |||||
| * | Add tox -e flake8, fix flake8 errors | Marius Gedminas | 2020-04-10 | 6 | -50/+69 |
| | | |||||
| * | Fix non-ASCII supplement info under Python 2 and drop Py3.3.issue1 | Jason Madden | 2017-09-11 | 4 | -104/+166 |
| | | | | | | | | | | | Fixes #1. Fix the coverage environment using zope.testrunner (nose no longer works, that same namespace path issue). Also run the doctests on all supported versions. This requires dropping Python 3.3 because sphinx needs 3.4+. | ||||
| * | 100% coverage through standardizing the no cover pragma directives and ↵ | Jason Madden | 2017-04-24 | 6 | -12/+12 |
| | | | | | adding two. | ||||
| * | Make exceptionformatter.extract_stack signature comply with ↵ | Adam Groszer | 2015-08-21 | 2 | -2/+11 |
| | | | | | traceback.extract_stack | ||||
| * | use new style format() for the template | Adam Groszer | 2015-08-13 | 1 | -6/+5 |
| | | |||||
| * | fix py3k | Adam Groszer | 2015-08-12 | 1 | -2/+2 |
| | | |||||
| * | fix tests according to lastest changes | Adam Groszer | 2015-08-12 | 1 | -31/+97 |
| | | |||||
| * | check __exception_formatter__ also in extractStack | Adam Groszer | 2015-08-12 | 1 | -0/+8 |
| | | |||||
| * | obey limit by cutting the middle of the results, not the precious end | Adam Groszer | 2015-08-12 | 1 | -10/+27 |
| | | |||||
| * | Silence Py3k deprecation of 'cgi.escape'. | Tres Seaver | 2015-02-27 | 1 | -2/+5 |
| | | |||||
| * | - Make sure that ``setup.py`` finds all tests. Now tox runs them all as well. | Stephan Richter | 2013-02-28 | 1 | -4/+5 |
| | | | | | | - Fix failing test under Python 3. - Made buildout work under Python 3 and Buildout 2. | ||||
| * | Fix test failure under Python 2.6. | Marius Gedminas | 2012-12-19 | 1 | -4/+4 |
| | | | | | | | | | The code was correct, the test incorrectly assumed exec 'foo =' would cause the same kind of SyntaxError under all Python versions. That turned out not to be the case. | ||||
| * | Fix HTML-escaping bug in format_exception(as_html=True). | Marius Gedminas | 2012-12-10 | 2 | -9/+30 |
| | | |||||
| * | Fixed optional dependency code for `zope.security` to work under Python 3.3. | Hanno Schlichting | 2012-08-20 | 1 | -1/+1 |
| | | |||||
| * | Coverage. | Tres Seaver | 2012-05-16 | 1 | -1/+1 |
| | | |||||
| * | Add Sphinx docs. | Tres Seaver | 2012-04-06 | 2 | -10/+15 |
| | | |||||
| * | Removed use of '2to3' and associated fixers when installing under Py3k. | Tres Seaver | 2012-04-06 | 4 | -12/+20 |
| | | | | | | | | | The code is now in a "compatible subset" which supports Python 2.6, 2.7, and 3.2 We also now explicitly support PyPy 1.8 (the version compatible with the 2.7 language spec). | ||||
| * | 100% unit test coverage. | Tres Seaver | 2012-04-06 | 1 | -0/+60 |
| | | |||||
| * | Coverage. | Tres Seaver | 2012-04-06 | 1 | -2/+2 |
| | | |||||
| * | Complete coverage for z.e.exceptionformatter.print_exception. | Tres Seaver | 2012-04-06 | 2 | -1/+38 |
| | | |||||
| * | Complete coverage for z.e.exceptionformatter.HTMLExceptionFormatter. | Tres Seaver | 2012-04-06 | 1 | -0/+48 |
| | | |||||
| * | <p> tags cannot contain <ul> tags. | Tres Seaver | 2012-04-06 | 2 | -3/+3 |
| | | |||||
| * | Begin coverage for HTMLExceptionFormatter. | Tres Seaver | 2012-04-06 | 1 | -0/+37 |
| | | |||||
| * | Complete coverage for z.e.exceptionformatter.TextExceptionFormatter. | Tres Seaver | 2012-04-06 | 1 | -0/+123 |
| | | |||||
| * | Cleanup. | Tres Seaver | 2012-04-06 | 1 | -3/+1 |
| | | |||||
| * | Coverage. | Tres Seaver | 2012-04-06 | 1 | -4/+113 |
| | | |||||
| * | Clarify exception when both 'tb' and 'f' are passed. | Tres Seaver | 2012-04-06 | 1 | -1/+1 |
| | | |||||
| * | Coverage. | Tres Seaver | 2012-04-06 | 1 | -3/+165 |
| | | |||||
| * | Cleanups. | Tres Seaver | 2012-04-06 | 1 | -11/+16 |
| | | | | | | | | | | | Remove 'show_revisions' fossil. Factor out HTML-specific bits from TextExceptionFormatter's 'formatSupplement' into new 'formatSupplementInfo' method, overridden by HTMLExceptionFormatter. Mark non-coverable junk. | ||||
| * | Clean up existing unit tests. | Tres Seaver | 2012-04-06 | 1 | -151/+187 |
| | | |||||
| * | Wrap long line. | Tres Seaver | 2012-04-06 | 1 | -1/+2 |
| | | |||||
| * | Fix: missed to reverse extractStack entries | Adam Groszer | 2012-03-28 | 1 | -0/+1 |
| | | |||||
| * | Added TextExceptionFormatter.extractStack and extract_stack | Adam Groszer | 2012-03-28 | 2 | -8/+107 |
| | | |||||
| * | Fix deprecated unittest functions: assert_ and assertEquals. | Brian Sutherland | 2011-07-20 | 1 | -19/+19 |
| | | |||||
| * | Fallback to traceback.format_tb when the formatter is called recursively. | Brian Sutherland | 2011-07-20 | 2 | -1/+25 |
| | | | | | | | | | i.e. Don't let errors in the formatter pass silently. This patch saves lots of hair pulling with doctest encoding issues under zope.testrunner. | ||||
| * | Relax a check, PyPy throws "ImportError: No module named zope.security" | Gediminas Paulauskas | 2011-04-18 | 1 | -1/+1 |
| | | |||||
| * | Fixed tests to work under Python 2.7. In 2.7 "exec" works like the normal ↵ | Hanno Schlichting | 2010-07-06 | 1 | -9/+2 |
| | | | | | Python compiler and automatically assumes a newline at the end of a file. Before Python 2.7 exec required an explicit newline. By using an explicit newline the exception is the same under all versions. | ||||
| * | PEP8 cleanup and removed obsolete build infrastructure files. | Hanno Schlichting | 2010-07-06 | 6 | -25/+22 |
| | | |||||
