summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* refactor: remove things only needed for Python 2Ned Batchelder2021-06-041-26/+1
|
* fix: use more explicit names for some debug informationNed Batchelder2021-06-022-3/+3
|
* build: latest dev dependenciesNed Batchelder2021-06-011-5/+6
|
* refactor: remove globals from NumbersNed Batchelder2021-06-017-67/+46
|
* fix: --fail-under=100 could report 100 is less than 100.Ned Batchelder2021-05-315-10/+53
| | | | | | | Use the same rounding rules for the fail-under message that are used for totals everywhere else, so that it won't say: total of 100 is less than fail-under=100
* test: better checking for CoverageWarningsNed Batchelder2021-05-313-3/+6
| | | | | On Python 3.10, we were getting other warnings mixed into the warnings the tests were looking for. This change lets us only look at the CoverageWarnings.
* build: undo requirements changesNed Batchelder2021-05-311-3/+3
| | | | | | Building newer concurrency libraries causes compile-time errors, and Python 3.9 seems unhappy with all of them. I'll need some help from those projects to update these.
* test: simplify run_command output handlingNed Batchelder2021-05-301-5/+3
| | | | | The type-check is left over from Python 2 compatibility, we don't need it anymore.
* build: mark a line as not coveredNed Batchelder2021-05-301-1/+1
|
* build: metacov should run on all versions of PythonNed Batchelder2021-05-301-0/+3
|
* build: update dependenciesNed Batchelder2021-05-301-3/+3
|
* build: mark a few lines as not coveredNed Batchelder2021-05-302-2/+3
|
* feat: warnings are now real warningsNed Batchelder2021-05-3014-89/+183
| | | | | | This makes coverage warnings visible when running test suites under pytest. But it also means some uninteresting warnings would show up in our own test suite, so we had to catch or suppress those.
* doc: mention dynamic contexts in more placesNed Batchelder2021-05-292-0/+30
|
* feat: include some usual env vars in debug-sysNed Batchelder2021-05-231-1/+4
|