Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: Python3.12 now inlines comprehensions | Ned Batchelder | 2023-05-11 | 1 | -4/+5 |
| | |||||
* | style: remove needless trailing commas | Ned Batchelder | 2023-01-26 | 1 | -1/+1 |
| | |||||
* | mypy: test_parser.py test_phystokens.py test_process.py test_report.py ↵ | Ned Batchelder | 2023-01-07 | 1 | -26/+30 |
| | | | | test_results.py test_setup.py | ||||
* | fix: adjust some PyPy behaviors. #1515 | Ned Batchelder | 2022-12-27 | 1 | -4/+3 |
| | |||||
* | refactor: no need for special handling of compiling unicode source | Ned Batchelder | 2022-11-06 | 1 | -2/+3 |
| | | | | This was a holdover from Python 2 days. | ||||
* | fix: `class` statements shouldn't be branches. #1449 | Ned Batchelder | 2022-09-26 | 1 | -3/+3 |
| | | | | | | Revert "refactor: we no longer need to treat 'class' lines specially" This reverts commit 79f9f4575321fafc2ef770e3255f874db3d4b037. | ||||
* | fix: don't cache a failed parse | Ned Batchelder | 2022-08-21 | 1 | -0/+9 |
| | | | | Found by OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50381 | ||||
* | test: xfail decorator tests that fail on PyPy 3.8 (7.3.10alpha) | Ned Batchelder | 2022-05-21 | 1 | -5/+4 |
| | | | | https://foss.heptapod.net/pypy/pypy/-/issues/3749 | ||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 1 | -5/+5 |
| | |||||
* | build: Build and test tweaks to help with cross-compilation | Steve Dower | 2022-04-30 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | For context, I've been testing whether a range of popular libraries are going to work on Windows ARM64. (This requires compiling on a regular x64 machine and then copying the wheel to an ARM64 one for testing.) The good news is, coverage seems to be just fine without any changes. However, because of a few assumptions in the test suite about always testing an in-place build, I had to make some tweaks to be able to run tests. My proposed tweaks should be fine for current uses, but they also allow the following: * support `SETUPTOOLS_EXT_SUFFIX` when building to override the pyd tag on Windows (used with `setup.py build_ext -L <path>` to point at [pythonarm64](https://www.nuget.org/packages/pythonarm64/) import libraries to do the cross-compile) * allow `COVERAGE_INSTALL_ARGS` to override how the tests install coverage into a venv (allows to point at a wheel rather than rebuilding from the sources) * allow `python igor.py remove_extension --from-install` to delete the extension module from `site-packages` rather than only the source tree * other changes to allow removing the `coverage` directory from the source tree before tests so that the installed copy will be used instead. I've tested these on my own Windows ARM64 machine, though unfortunately there aren't any available on CI services yet. If you wanted to start releasing (preview) wheels for win-arm64 you can, but there's no support (yet) in `cibuildwheel` or `build` to do it (because those tools don't really have a concept of cross-compilation for Windows at all... yet ;-) ). For the linter | ||||
* | fix: 3.11 now traces decorator lines as the decorators execute | Ned Batchelder | 2022-01-15 | 1 | -0/+4 |
| | | | | See: https://bugs.python.org/issue46234 | ||||
* | test(refactor): convert looping tests to parametrize | Ned Batchelder | 2021-11-11 | 1 | -7/+8 |
| | |||||
* | style: convert more string formatting to f-strings | Ned Batchelder | 2021-11-11 | 1 | -1/+1 |
| | |||||
* | refactor: we no longer need to treat 'class' lines specially | Ned Batchelder | 2021-11-11 | 1 | -3/+3 |
| | | | | | Originally, this tokenizing code was paired with bytecode analysis. But now we use AST instead, so class lines don't need to be handled differently. | ||||
* | fix: colons in decorators shouldn't stop an exclusion | Ned Batchelder | 2021-11-10 | 1 | -1/+21 |
| | |||||
* | test: fix the trailing-space test, and suppress warnings about \<space> | Ned Batchelder | 2021-10-30 | 1 | -2/+5 |
| | |||||
* | refactor(test): make re_lines (et al) look like re.search | Ned Batchelder | 2021-10-28 | 1 | -2/+2 |
| | | | | and also replace some calls with just-plain re.search. | ||||
* | fix(debug): ast_dump failed on a few things | Ned Batchelder | 2021-10-27 | 1 | -16/+21 |
| | |||||
* | test: lightly test the ast_dump function | Ned Batchelder | 2021-10-12 | 1 | -2/+24 |
| | |||||
* | style: prefer explicit string concatenation | Ned Batchelder | 2021-10-10 | 1 | -1/+1 |
| | |||||
* | feat: add support for Python 3.10 match-case statements | Ned Batchelder | 2021-06-06 | 1 | -0/+18 |
| | |||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: remove a few more version checks | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus tests/**.py | Ned Batchelder | 2021-05-02 | 1 | -5/+5 |
| | |||||
* | refactor: remove code explicitly choosing between py2 and py3 | Ned Batchelder | 2021-05-01 | 1 | -2/+0 |
| | |||||
* | refactor: no need for our own xfail wrapper | Ned Batchelder | 2021-03-11 | 1 | -4/+3 |
| | |||||
* | style: fix long lines and avoid backslashesnedbat/unittest2pytest | Ned Batchelder | 2021-01-31 | 1 | -57/+85 |
| | |||||
* | style: correct placement of auto-added pytest imports | Ned Batchelder | 2021-01-31 | 1 | -1/+2 |
| | |||||
* | refactor: unittest2pytest -w tests | Ned Batchelder | 2021-01-31 | 1 | -108/+61 |
| | | | | One step of moving to pure pytest tests. | ||||
* | Fix a test to be usable with PEP626 | Ned Batchelder | 2021-01-10 | 1 | -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 again | Ned Batchelder | 2021-01-10 | 1 | -1/+2 |
| | |||||
* | Use set literals | Ned Batchelder | 2021-01-03 | 1 | -6/+6 |
| | |||||
* | PyPy 3.7 doesn't act exactly like CPython 3.7 | Ned Batchelder | 2020-10-10 | 1 | -1/+1 |
| | |||||
* | More bitbucket->github urls | Ned Batchelder | 2020-08-18 | 1 | -2/+2 |
| | |||||
* | A known failure has been fixed | Ned Batchelder | 2020-07-05 | 1 | -1/+1 |
| | |||||
* | Better xfail mechanism | Ned Batchelder | 2020-01-18 | 1 | -3/+6 |
| | |||||
* | xfail a test due to a PyPy3 7.3.0 change | Ned Batchelder | 2019-12-31 | 1 | -1/+3 |
| | |||||
* | Move test helpers to tests.helpers | Ned Batchelder | 2019-12-31 | 1 | -3/+4 |
| | |||||
* | Move arcz_to_arcs to misc so we can use it elsewhere | Ned Batchelder | 2019-06-19 | 1 | -4/+4 |
| | |||||
* | Asserts should be expected,actual | Ned Batchelder | 2018-12-24 | 1 | -3/+3 |
| | |||||
* | Adapt to 3.8's way of tracing decorated functions | Ned Batchelder | 2018-11-03 | 1 | -3/+14 |
| | |||||
* | Finally jumps back to exiting lines | Ned Batchelder | 2018-10-06 | 1 | -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 Batchelder | 2018-06-24 | 1 | -1/+1 |
| | |||||
* | Make version checking more uniform | Ned Batchelder | 2018-06-13 | 1 | -1/+1 |
| | |||||
* | Adapt to a recent 3.7 change in how functions with only docstrings get ↵ | Ned Batchelder | 2018-06-13 | 1 | -2/+8 |
| | | | | line-numbered | ||||
* | Undo some 3.7b4 ast tweaks | Ned Batchelder | 2018-06-02 | 1 | -5/+1 |
| | |||||
* | No more support for 2.6 or 3.3 | Ned Batchelder | 2018-05-05 | 1 | -4/+0 |
| | |||||
* | Properly handle empty decorated functions in 3.7. #640 | Ned Batchelder | 2018-02-09 | 1 | -0/+17 |
| | |||||
* | Python 3.7 no longer includes class docstrings in the lnotab table | Ned Batchelder | 2017-10-05 | 1 | -4/+6 |
| | |||||
* | More-precise no-coverage pragmas | Ned Batchelder | 2017-01-19 | 1 | -1/+1 |
| |