Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: match/case will trace the default case line | Ned Batchelder | 2021-07-27 | 2 | -4/+1 |
| | |||||
* | docs: clarify the behavior of exclude_lines | Ned Batchelder | 2021-07-25 | 2 | -2/+23 |
| | |||||
* | build: better error reporting in download_gha_artifacts | Ned Batchelder | 2021-07-24 | 1 | -10/+15 |
| | |||||
* | build: generalize download_gha_artifacts so other repos can use it | Ned Batchelder | 2021-07-24 | 2 | -2/+3 |
| | |||||
* | test: show hash-based pyc fields in show_pyc | Ned Batchelder | 2021-07-22 | 1 | -2/+4 |
| | | | | https://www.python.org/dev/peps/pep-0552/ | ||||
* | fix: retry immediately on a failure inside executemany. #1010 | Ned Batchelder | 2021-07-21 | 2 | -2/+9 |
| | |||||
* | fix: raise chained errors with "from" #998 | Ned Batchelder | 2021-07-20 | 8 | -33/+31 |
| | | | | | | This makes exceptions report their causes correctly, as "The above exception was the direct cause of the following exception" instead of "During handling of the above exception, another exception occurred." | ||||
* | test: don't report this function in pytest tracebacks | Ned Batchelder | 2021-07-20 | 1 | -0/+1 |
| | |||||
* | test: check the plugin warnings differently | Ned Batchelder | 2021-07-20 | 1 | -1/+2 |
| | | | | | | | | The old way, extra warnings that we don't care about could creep in. For some reason, disabling PyContracts causes "imp" DeprecationWarnings to appear in the list. Rather than assert there's only one warning, assert there's only one from us. | ||||
* | test: add a test for bpo 44622, #1176 | Ned Batchelder | 2021-07-19 | 1 | -0/+24 |
| | |||||
* | docs: mention sys.setprofile as code that will not be measured. #1192 | Ned Batchelder | 2021-07-19 | 1 | -0/+5 |
| | |||||
* | test: add tests of #1175 | Ned Batchelder | 2021-07-19 | 1 | -0/+34 |
| | | | | | | Python versions before 3.10 didn't trace trailing "pass" statements correctly. I don't think that will change at this point, so we'll skip this test for those versions. | ||||
* | build: push --all is too much | Ned Batchelder | 2021-07-18 | 1 | -1/+1 |
| | |||||
* | build: bump version6.0b1 | Ned Batchelder | 2021-07-18 | 2 | -1/+7 |
| | |||||
* | docs: prep for 6.0b1 | Ned Batchelder | 2021-07-18 | 3 | -6/+8 |
| | |||||
* | docs: fix two links sphinx thinks are broken | Ned Batchelder | 2021-07-18 | 2 | -2/+2 |
| | |||||
* | build: update doc pins, and css for sphinx 4 | Ned Batchelder | 2021-07-18 | 2 | -3/+17 |
| | |||||
* | build: update pins | Ned Batchelder | 2021-07-18 | 4 | -10/+10 |
| | |||||
* | build: update pylint and remove some unneeded warning suppression | Ned Batchelder | 2021-07-18 | 4 | -27/+4 |
| | |||||
* | Build aarch64 wheels using cibuildwheel (#1165) | Janakarajan Natarajan | 2021-07-18 | 1 | -4/+14 |
| | | | Latest cibuildwheel allows for the building of aarch64 using QEMU. | ||||
* | test: mark some only-failure code in the recent goldtest changes | Ned Batchelder | 2021-07-18 | 1 | -2/+2 |
| | |||||
* | test: change how we keep mismatched actual output | Ned Batchelder | 2021-07-15 | 8 | -25/+22 |
| | | | | | | | | | | | | Now when a goldtest has a failure, the actual mismatched output will be written to the tests/actual directory. Along the way, I removed some obsolete settings which were only used by unittest and unittest_mixins, which we no longer use: - COVERAGE_KEEP_TMP - COVERAGE_ENV_ID - $TMPDIR/coverage_test | ||||
* | fix: generate flat file names differently | Ned Batchelder | 2021-07-15 | 9 | -25/+48 |
| | | | | | | | | Fixes a few unusual issues with reports: - #580: HTML report generation fails on too long path - #584: File collisions in coverage report html - #1167: Remove leading underscore in coverage html | ||||
* | fix: it just seems silly to use more than 32 chars for a fingerprint | Ned Batchelder | 2021-07-14 | 1 | -1/+1 |
| | |||||
* | test: a better way to skip a test for two reasons | Ned Batchelder | 2021-07-13 | 1 | -5/+2 |
| | |||||
* | test: skip a test that won't run on 3.6 | Ned Batchelder | 2021-07-13 | 1 | -0/+1 |
| | |||||
* | fix: use a modern hash when fingerprinting. #1189 | Ned Batchelder | 2021-07-13 | 3 | -9/+13 |
| | |||||
* | test: the code I use for bpo reports | Ned Batchelder | 2021-07-13 | 1 | -0/+12 |
| | |||||
* | test: add a test for bug #1158 | Ned Batchelder | 2021-07-13 | 1 | -0/+25 |
| | |||||
* | doc: update CHANGES.rst | Ned Batchelder | 2021-07-13 | 1 | -0/+7 |
| | |||||
* | Support TOML v1.0.0 syntax in `pyproject.toml` (#1186) | Thomas Grainger | 2021-07-13 | 5 | -40/+37 |
| | | | | | | | | | | | | | | | | | * Support TOML v1.0.0 syntax in `pyproject.toml` fixes #1180 Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> * fix toml meta test * use pytest.mark.parametrize to narrow test failure * Update tests/test_config.py Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com> | ||||
* | test: 3.10.0b4 traces match/case incorrectly | Ned Batchelder | 2021-07-12 | 1 | -1/+5 |
| | | | | See: https://bugs.python.org/issue44600 | ||||
* | build: 3.10 beta 4 is out | Ned Batchelder | 2021-07-11 | 2 | -2/+2 |
| | |||||
* | test: add a test for #1184. | Ned Batchelder | 2021-07-08 | 1 | -0/+17 |
| | | | | | Note: this test fails on 3.10.0b3, the current 3.10 version in the CI tests. | ||||
* | refactor: Python 3.9 added an accessor for frame->f_code | Ned Batchelder | 2021-07-08 | 2 | -11/+18 |
| | | | | This accessor is now required in 3.11, so let's use it. | ||||
* | build: 3.10b3 is out | Ned Batchelder | 2021-06-18 | 2 | -4/+2 |
| | |||||
* | build: use annotated tags | Ned Batchelder | 2021-06-12 | 1 | -3/+3 |
| | |||||
* | docs: add pyw to the list of extensions --source will consider | Ned Batchelder | 2021-06-08 | 1 | -2/+2 |
| | |||||
* | build: 3.10 is in flux, but beta3 should be good | Ned Batchelder | 2021-06-06 | 2 | -2/+4 |
| | |||||
* | feat: soft keywords are shown in bold in the HTML report | Ned Batchelder | 2021-06-06 | 3 | -3/+76 |
| | | | | | | | | The match and case soft keywords are shown in bold when they are keywords, and not when they are not. The underscore soft keyword is ignored, because it is harder to get right, and because it doesn't look that much different in bold anyway. | ||||
* | feat: add support for Python 3.10 match-case statements | Ned Batchelder | 2021-06-06 | 4 | -0/+93 |
| | |||||
* | test: a more accurate name: COVERAGE_ANYPY | Ned Batchelder | 2021-06-06 | 1 | -2/+2 |
| | |||||
* | fix: in Python 3.10, leaving a with block exits through the with statement. | Ned Batchelder | 2021-06-05 | 4 | -16/+185 |
| | | | | This need 3.10.0b3 (not yet released) to fully pass. | ||||
* | refactor: no need for clever byte_parser property | Ned Batchelder | 2021-06-05 | 1 | -10/+3 |
| | | | | | It was only ever used once per object, so just make the ByteParser when we need it. | ||||
* | test: add a test for annotated assignment | Ned Batchelder | 2021-06-05 | 2 | -1/+19 |
| | | | | | | | | | Every statement-level ast node should be tested. Annotated assignment was missing. Also, we don't need "exec" anymore, that was only for Python 2. And: this is the 1000th test! | ||||
* | test: during testing, be strict about handling all ast nodes | Ned Batchelder | 2021-06-04 | 1 | -4/+3 |
| | |||||
* | test: hide check_coverage source in pytest tracebacks | Ned Batchelder | 2021-06-04 | 1 | -0/+2 |
| | | | | | | | The code for the helper is uninteresting and long, and only makes it harder to see what is going wrong. Hide it. https://docs.pytest.org/en/latest/example/simple.html#writing-well-integrated-assertion-helpers | ||||
* | refactor: better naming for a code object dispatcher | Ned Batchelder | 2021-06-04 | 1 | -14/+16 |
| | |||||
* | test: add version info to the run_trace helper | Ned Batchelder | 2021-06-04 | 1 | -0/+1 |
| | |||||
* | refactor: delegate to blocks and avoid isinstance | Ned Batchelder | 2021-06-04 | 1 | -38/+87 |
| |