Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add link to coverage.py twitter account to project urls (#1217) | Asher Foa | 2021-08-30 | 1 | -0/+1 | |
| | ||||||
* | build: defend against a local PYTHONPYCACHEPREFIX setting | Ned Batchelder | 2021-08-29 | 1 | -0/+3 | |
| | | | | | | | I had PYTYHONPYCACHEPREFIX=/tmp/pyc in my local shell, which put pyc files elsewhere. A few tests care very much about .pyc files, so those tests failed. This setting in tox.ini will ensure that .pyc files are written locally so the tests will pass. | |||||
* | fixes typo in kit workflow (#1215) | Luis Nell | 2021-08-23 | 1 | -1/+1 | |
| | ||||||
* | refactor: use sets to collect data | Ned Batchelder | 2021-08-15 | 6 | -62/+60 | |
| | | | | | | | Coverage.py predates sets as a built-in data structure, so the file data collection has long been dicts with None as the values. Sets are available to us now (since Python 2.4 in 2004, which coverage.py dropped support for in 2014!), we use sets. | |||||
* | fix: missing exceptions through with statements in 3.10 aren't considered ↵ | Ned Batchelder | 2021-08-14 | 3 | -8/+65 | |
| | | | | missing branches. #1205 | |||||
* | refactor: move a test helper to CoverageTest | Ned Batchelder | 2021-08-14 | 2 | -6/+10 | |
| | ||||||
* | test: a part-covered comprehension | Ned Batchelder | 2021-08-09 | 3 | -5/+3 | |
| | | | | | The comprehension would only completely finish (->exit) if the assert was going to fail. So we expect it to not finish. | |||||
* | test: simplify pyc logic | Ned Batchelder | 2021-08-09 | 1 | -9/+2 | |
| | | | | | | The old pycache_prefix logic was because we would run tests in Docker containers, and they went faster if we set PYTHONCACHEPREFIX. But we don't do that anymore, so we can use simpler code. | |||||
* | test: show contexts in metacov report | Ned Batchelder | 2021-08-09 | 3 | -13/+10 | |
| | ||||||
* | test: exclude one last line in test_api.py | Ned Batchelder | 2021-08-09 | 1 | -1/+1 | |
| | ||||||
* | debug: improved logging in tracer.c | Ned Batchelder | 2021-08-09 | 1 | -13/+14 | |
| | ||||||
* | build: never warn about old pip versions | Ned Batchelder | 2021-08-09 | 4 | -0/+12 | |
| | ||||||
* | test: add a test for #1205 bpo-44840 | Ned Batchelder | 2021-08-09 | 1 | -1/+27 | |
| | ||||||
* | chore: update tooling versions | Ned Batchelder | 2021-08-09 | 5 | -14/+14 | |
| | ||||||
* | Fix parsing 'command_line' option (#1201) | Pavel Tsialnou | 2021-08-06 | 1 | -1/+1 | |
| | | | | | Coverage config files supports 'command_line' parameters. However, only '-m' is parsed properly. The line 'command_line = "--module unittest discover"' is considered as a path, not a module option. | |||||
* | feat: mention skipped file counts in the HTML report. #1163 | Ned Batchelder | 2021-08-06 | 4 | -1/+36 | |
| | ||||||
* | docs: skip_covered and skip_empty were never documented | Ned Batchelder | 2021-08-06 | 1 | -0/+10 | |
| | ||||||
* | test: add a test of the one thing uncovered in results.py | Ned Batchelder | 2021-08-05 | 1 | -0/+8 | |
| | ||||||
* | feat: `coverage combine` now prints messages naming the files being ↵ | Ned Batchelder | 2021-08-05 | 5 | -13/+32 | |
| | | | | combined. #1105 (#1208) | |||||
* | feat: HTML report now says where the report is. #1195 (#1207) | Ned Batchelder | 2021-08-05 | 7 | -6/+28 | |
| | ||||||
* | feat: unrecognized options are now a warning rather than error. #1035 (#1206) | Ned Batchelder | 2021-08-05 | 4 | -24/+35 | |
| | | | | Because they are warnings issued while parsing the configuration file, it's not possible to suppress them with the coverage configuration. | |||||
* | build: use 3.10.0-rc.1 (#1204) | Ned Batchelder | 2021-08-04 | 3 | -3/+3 | |
| | ||||||
* | docs: add more detail to a confusing changelog entry | Ned Batchelder | 2021-08-02 | 1 | -1/+5 | |
| | | | | | | | safety-db read this entry and reported it as a security issue. It was never a security problem. https://github.com/pyupio/safety-db/issues/2335 | |||||
* | style: fix typos discovered by codespell (#1197) | Christian Clauss | 2021-08-01 | 10 | -16/+16 | |
| | | | | | | | | | | | python3 -m pip install codespell codespell --ignore-words-list="ba,cant,datas,hart,linke,ned,nin,overthere,upto" --skip="*.js" * Fix typos discovered by codespell * datas * intgers ==> integers | |||||
* | fix: correct previous refactorings | Ned Batchelder | 2021-07-28 | 5 | -9/+9 | |
| | | | | | File names should not be rendered with !r, since on Windows that will produce double backslashes, which only confuses people. | |||||
* | refactor: convert %-strings to f-strings | Ned Batchelder | 2021-07-28 | 10 | -29/+19 | |
| | ||||||
* | 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 | |
| |