summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix: match/case will trace the default case lineNed Batchelder2021-07-272-4/+1
|
* docs: clarify the behavior of exclude_linesNed Batchelder2021-07-252-2/+23
|
* build: better error reporting in download_gha_artifactsNed Batchelder2021-07-241-10/+15
|
* build: generalize download_gha_artifacts so other repos can use itNed Batchelder2021-07-242-2/+3
|
* test: show hash-based pyc fields in show_pycNed Batchelder2021-07-221-2/+4
| | | | https://www.python.org/dev/peps/pep-0552/
* fix: retry immediately on a failure inside executemany. #1010Ned Batchelder2021-07-212-2/+9
|
* fix: raise chained errors with "from" #998Ned Batchelder2021-07-208-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 tracebacksNed Batchelder2021-07-201-0/+1
|
* test: check the plugin warnings differentlyNed Batchelder2021-07-201-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, #1176Ned Batchelder2021-07-191-0/+24
|
* docs: mention sys.setprofile as code that will not be measured. #1192Ned Batchelder2021-07-191-0/+5
|
* test: add tests of #1175Ned Batchelder2021-07-191-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 muchNed Batchelder2021-07-181-1/+1
|
* build: bump version6.0b1Ned Batchelder2021-07-182-1/+7
|
* docs: prep for 6.0b1Ned Batchelder2021-07-183-6/+8
|
* docs: fix two links sphinx thinks are brokenNed Batchelder2021-07-182-2/+2
|
* build: update doc pins, and css for sphinx 4Ned Batchelder2021-07-182-3/+17
|
* build: update pinsNed Batchelder2021-07-184-10/+10
|
* build: update pylint and remove some unneeded warning suppressionNed Batchelder2021-07-184-27/+4
|
* Build aarch64 wheels using cibuildwheel (#1165)Janakarajan Natarajan2021-07-181-4/+14
| | | Latest cibuildwheel allows for the building of aarch64 using QEMU.
* test: mark some only-failure code in the recent goldtest changesNed Batchelder2021-07-181-2/+2
|
* test: change how we keep mismatched actual outputNed Batchelder2021-07-158-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 differentlyNed Batchelder2021-07-159-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 fingerprintNed Batchelder2021-07-141-1/+1
|
* test: a better way to skip a test for two reasonsNed Batchelder2021-07-131-5/+2
|
* test: skip a test that won't run on 3.6Ned Batchelder2021-07-131-0/+1
|
* fix: use a modern hash when fingerprinting. #1189Ned Batchelder2021-07-133-9/+13
|
* test: the code I use for bpo reportsNed Batchelder2021-07-131-0/+12
|
* test: add a test for bug #1158Ned Batchelder2021-07-131-0/+25
|
* doc: update CHANGES.rstNed Batchelder2021-07-131-0/+7
|
* Support TOML v1.0.0 syntax in `pyproject.toml` (#1186)Thomas Grainger2021-07-135-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 incorrectlyNed Batchelder2021-07-121-1/+5
| | | | See: https://bugs.python.org/issue44600
* build: 3.10 beta 4 is outNed Batchelder2021-07-112-2/+2
|
* test: add a test for #1184.Ned Batchelder2021-07-081-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_codeNed Batchelder2021-07-082-11/+18
| | | | This accessor is now required in 3.11, so let's use it.
* build: 3.10b3 is outNed Batchelder2021-06-182-4/+2
|
* build: use annotated tagsNed Batchelder2021-06-121-3/+3
|
* docs: add pyw to the list of extensions --source will considerNed Batchelder2021-06-081-2/+2
|
* build: 3.10 is in flux, but beta3 should be goodNed Batchelder2021-06-062-2/+4
|
* feat: soft keywords are shown in bold in the HTML reportNed Batchelder2021-06-063-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 statementsNed Batchelder2021-06-064-0/+93
|
* test: a more accurate name: COVERAGE_ANYPYNed Batchelder2021-06-061-2/+2
|
* fix: in Python 3.10, leaving a with block exits through the with statement.Ned Batchelder2021-06-054-16/+185
| | | | This need 3.10.0b3 (not yet released) to fully pass.
* refactor: no need for clever byte_parser propertyNed Batchelder2021-06-051-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 assignmentNed Batchelder2021-06-052-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 nodesNed Batchelder2021-06-041-4/+3
|
* test: hide check_coverage source in pytest tracebacksNed Batchelder2021-06-041-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 dispatcherNed Batchelder2021-06-041-14/+16
|
* test: add version info to the run_trace helperNed Batchelder2021-06-041-0/+1
|
* refactor: delegate to blocks and avoid isinstanceNed Batchelder2021-06-041-38/+87
|