summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* wip: more specific errors for plugin problemsnedbat/plugin-error-handlingNed Batchelder2021-06-121-6/+5
|
* 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
|
* COVERAGE_DEBUG_FILE accepts "stdout" and "stderr"Ned Batchelder2021-05-233-1/+8
|
* fix: Python 3.8.10 changed how __file__ is reported when running directoriesNed Batchelder2021-05-112-1/+6
|
* test: traced file names seem to be absolute now? #1161Ned Batchelder2021-05-082-9/+13
| | | | | This was changed in 3.10.0b1 and 3.9.5. Seems like a strange change to throw into 3.9.5, but there it is. Fixes #1161.
* docs: add a word to clarify an APINed Batchelder2021-05-081-1/+1
|
* chore: update two dependenciesNed Batchelder2021-05-042-2/+2
|
* fix: shorten the sqlite debug info listingNed Batchelder2021-05-041-2/+5
| | | | | | This is totally cosmetic. I often look at "coverage debug sys", and the long list of SQLite info at the end is never the thing I want to look at. So squish it up to take less space.
* refactor: get rid of My* version shims we don't need anymoreNed Batchelder2021-05-033-39/+19
|
* fix: make data collection operations thread-safeNed Batchelder2021-05-033-1/+29
|
* test: remove a changed test that wasn't supposed to be part of bb73791bNed Batchelder2021-05-031-6/+1
|
* refactor: remove redundant Python 2 code (#1155)Hugo van Kemenade2021-05-0213-78/+61
| | | | | | | | | | | * Remove Python 2 code * Upgrade Python syntax with pyupgrade * Upgrade Python syntax with pyupgrade --py3-plus * Upgrade Python syntax with pyupgrade --py36-plus * Remove unused imports
* refactor: convert more %-formatting to f-stringsNed Batchelder2021-05-025-21/+26
|
* build: remove needless excludesNed Batchelder2021-05-022-6/+0
| | | | | Unfortunately, excluding files that don't exist causes warnings. So try to keep the list as accurate as possible.
* Use license_files instead of deprecated license_fileHugo van Kemenade2021-05-021-1/+1
|
* test: avoid xdist to ensure coverage is collectedNed Batchelder2021-05-021-1/+3
|
* docs: update the examples in contributing.rstNed Batchelder2021-05-021-60/+39
|
* refactor: remove a now no-op functionNed Batchelder2021-05-022-13/+6
|
* refactor: move exceptions to their own moduleNed Batchelder2021-05-0235-81/+99
|
* build: don't refer to py27 in the MakefileNed Batchelder2021-05-021-3/+3
|
* build: update build toolsNed Batchelder2021-05-022-5/+4
|
* test: update to latest pytestNed Batchelder2021-05-023-10/+6
|