Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wip: more specific errors for plugin problemsnedbat/plugin-error-handling | Ned Batchelder | 2021-06-12 | 1 | -6/+5 |
| | |||||
* | 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 |
| | |||||
* | refactor: remove things only needed for Python 2 | Ned Batchelder | 2021-06-04 | 1 | -26/+1 |
| | |||||
* | fix: use more explicit names for some debug information | Ned Batchelder | 2021-06-02 | 2 | -3/+3 |
| | |||||
* | build: latest dev dependencies | Ned Batchelder | 2021-06-01 | 1 | -5/+6 |
| | |||||
* | refactor: remove globals from Numbers | Ned Batchelder | 2021-06-01 | 7 | -67/+46 |
| | |||||
* | fix: --fail-under=100 could report 100 is less than 100. | Ned Batchelder | 2021-05-31 | 5 | -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 CoverageWarnings | Ned Batchelder | 2021-05-31 | 3 | -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 changes | Ned Batchelder | 2021-05-31 | 1 | -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 handling | Ned Batchelder | 2021-05-30 | 1 | -5/+3 |
| | | | | | The type-check is left over from Python 2 compatibility, we don't need it anymore. | ||||
* | build: mark a line as not covered | Ned Batchelder | 2021-05-30 | 1 | -1/+1 |
| | |||||
* | build: metacov should run on all versions of Python | Ned Batchelder | 2021-05-30 | 1 | -0/+3 |
| | |||||
* | build: update dependencies | Ned Batchelder | 2021-05-30 | 1 | -3/+3 |
| | |||||
* | build: mark a few lines as not covered | Ned Batchelder | 2021-05-30 | 2 | -2/+3 |
| | |||||
* | feat: warnings are now real warnings | Ned Batchelder | 2021-05-30 | 14 | -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 places | Ned Batchelder | 2021-05-29 | 2 | -0/+30 |
| | |||||
* | feat: include some usual env vars in debug-sys | Ned Batchelder | 2021-05-23 | 1 | -1/+4 |
| | |||||
* | COVERAGE_DEBUG_FILE accepts "stdout" and "stderr" | Ned Batchelder | 2021-05-23 | 3 | -1/+8 |
| | |||||
* | fix: Python 3.8.10 changed how __file__ is reported when running directories | Ned Batchelder | 2021-05-11 | 2 | -1/+6 |
| | |||||
* | test: traced file names seem to be absolute now? #1161 | Ned Batchelder | 2021-05-08 | 2 | -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 API | Ned Batchelder | 2021-05-08 | 1 | -1/+1 |
| | |||||
* | chore: update two dependencies | Ned Batchelder | 2021-05-04 | 2 | -2/+2 |
| | |||||
* | fix: shorten the sqlite debug info listing | Ned Batchelder | 2021-05-04 | 1 | -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 anymore | Ned Batchelder | 2021-05-03 | 3 | -39/+19 |
| | |||||
* | fix: make data collection operations thread-safe | Ned Batchelder | 2021-05-03 | 3 | -1/+29 |
| | |||||
* | test: remove a changed test that wasn't supposed to be part of bb73791b | Ned Batchelder | 2021-05-03 | 1 | -6/+1 |
| | |||||
* | refactor: remove redundant Python 2 code (#1155) | Hugo van Kemenade | 2021-05-02 | 13 | -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-strings | Ned Batchelder | 2021-05-02 | 5 | -21/+26 |
| | |||||
* | build: remove needless excludes | Ned Batchelder | 2021-05-02 | 2 | -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_file | Hugo van Kemenade | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | test: avoid xdist to ensure coverage is collected | Ned Batchelder | 2021-05-02 | 1 | -1/+3 |
| | |||||
* | docs: update the examples in contributing.rst | Ned Batchelder | 2021-05-02 | 1 | -60/+39 |
| | |||||
* | refactor: remove a now no-op function | Ned Batchelder | 2021-05-02 | 2 | -13/+6 |
| | |||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 35 | -81/+99 |
| | |||||
* | build: don't refer to py27 in the Makefile | Ned Batchelder | 2021-05-02 | 1 | -3/+3 |
| | |||||
* | build: update build tools | Ned Batchelder | 2021-05-02 | 2 | -5/+4 |
| | |||||
* | test: update to latest pytest | Ned Batchelder | 2021-05-02 | 3 | -10/+6 |
| |