summaryrefslogtreecommitdiff
path: root/tests/test_parser.py
Commit message (Collapse)AuthorAgeFilesLines
* style: fix long lines and avoid backslashesnedbat/unittest2pytestNed Batchelder2021-01-311-57/+85
|
* style: correct placement of auto-added pytest importsNed Batchelder2021-01-311-1/+2
|
* refactor: unittest2pytest -w testsNed Batchelder2021-01-311-108/+61
| | | | One step of moving to pure pytest tests.
* Fix a test to be usable with PEP626Ned Batchelder2021-01-101-33/+35
| | | | | | | In the old code, the return and raise were unreachable, so Python 3.10 compiled them away. This meant the return and raise messages weren't in the missing arc fragments. The new code has a path to the return and raise.
* PEP 626: Docstring-only functions changed againNed Batchelder2021-01-101-1/+2
|
* Use set literalsNed Batchelder2021-01-031-6/+6
|
* PyPy 3.7 doesn't act exactly like CPython 3.7Ned Batchelder2020-10-101-1/+1
|
* More bitbucket->github urlsNed Batchelder2020-08-181-2/+2
|
* A known failure has been fixedNed Batchelder2020-07-051-1/+1
|
* Better xfail mechanismNed Batchelder2020-01-181-3/+6
|
* xfail a test due to a PyPy3 7.3.0 changeNed Batchelder2019-12-311-1/+3
|
* Move test helpers to tests.helpersNed Batchelder2019-12-311-3/+4
|
* Move arcz_to_arcs to misc so we can use it elsewhereNed Batchelder2019-06-191-4/+4
|
* Asserts should be expected,actualNed Batchelder2018-12-241-3/+3
|
* Adapt to 3.8's way of tracing decorated functionsNed Batchelder2018-11-031-3/+14
|
* Finally jumps back to exiting linesNed Batchelder2018-10-061-19/+50
| | | | | | In Python 3.8, when a finally clause is run because a line in the try block is exiting the block, the exiting line is visited again after the finally block.
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Make version checking more uniformNed Batchelder2018-06-131-1/+1
|
* Adapt to a recent 3.7 change in how functions with only docstrings get ↵Ned Batchelder2018-06-131-2/+8
| | | | line-numbered
* Undo some 3.7b4 ast tweaksNed Batchelder2018-06-021-5/+1
|
* No more support for 2.6 or 3.3Ned Batchelder2018-05-051-4/+0
|
* Properly handle empty decorated functions in 3.7. #640Ned Batchelder2018-02-091-0/+17
|
* Python 3.7 no longer includes class docstrings in the lnotab tableNed Batchelder2017-10-051-4/+6
|
* More-precise no-coverage pragmasNed Batchelder2017-01-191-1/+1
|
* Properly handle if-statements optimized away. #522Ned Batchelder2017-01-161-1/+1
|
* More pragmas for test skipsNed Batchelder2017-01-141-1/+1
|
* Use standard skipTest, which unittest-mixins will override.Ned Batchelder2016-06-121-1/+1
|
* Better descriptions of missing one-line executables. Part of #475Ned Batchelder2016-03-271-5/+5
|
* Better branch-missed messages for lambdas.Ned Batchelder2016-02-251-0/+14
|
* Pick off some lintNed Batchelder2016-02-151-1/+2
|
* Add missing branch explanations for while-loopNed Batchelder2016-02-151-1/+14
|
* Skip a test on 2.6Ned Batchelder2016-02-151-0/+4
|
* More missing-branch descriptionsNed Batchelder2016-02-151-1/+12
|
* More work on better missing branch descriptionsNed Batchelder2016-02-141-4/+34
|
* Make these tests just a little easier to writeNed Batchelder2016-02-131-9/+9
|
* Add missing branch descriptions for handling exceptionsNed Batchelder2016-02-131-0/+20
|
* More work on the better missed-branch messagesNed Batchelder2016-02-131-0/+28
|
* More progress on better missed-branch descriptionsNed Batchelder2016-02-131-0/+5
|
* Fix a type error in a new testNed Batchelder2016-02-111-1/+1
|
* missing_arc_description is better than arc_destination_description. One test ↵Ned Batchelder2016-02-081-0/+32
| | | | broken.
* Class docstrings shouldn't be considered executable. Not sure what happened ↵Ned Batchelder2016-01-111-3/+3
| | | | there...
* Class docstrings are executable.Ned Batchelder2016-01-101-3/+3
|
* Merge in the default branchNed Batchelder2016-01-021-1/+1
|\ | | | | | | | | --HG-- branch : ast-branch
| * if 0: might not do what we want, use a non-constantNed Batchelder2015-12-241-1/+1
| |
* | Fix another test changed by better try-except measurementNed Batchelder2016-01-021-1/+1
|/ | | | | --HG-- branch : ast-branch
* Pragmas on decorators apply to the entire function or class. #131Ned Batchelder2015-11-281-0/+49
|
* Clean up PythonParser a bit.Ned Batchelder2015-11-281-6/+5
|
* Correct the handling of IndentationError and TokenErrorNed Batchelder2015-08-091-0/+20
|
* Fix a few more occurrences of 'Coverage' to 'coverage.py'Ned Batchelder2015-07-271-2/+2
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-1/+4
|