Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | feat(html): version and timestamp at the top of report files. | Ned Batchelder | 2022-05-20 | 1 | -4/+6 |
| | | | | This is a re-implementation of pull #1354. | ||||
* | style: remove an orphaned import | Ned Batchelder | 2022-05-20 | 1 | -1/+0 |
| | |||||
* | test: remove file-removal that isn't needed anymore | Ned Batchelder | 2022-05-20 | 2 | -9/+2 |
| | |||||
* | test: check that our generated html files have valid hrefs | Ned Batchelder | 2022-05-19 | 1 | -1/+25 |
| | |||||
* | chore: update html test gold files | J. M. F. Tsang | 2022-05-19 | 38 | -76/+794 |
| | |||||
* | fix: the SIGTERM handler is now opt-in. #1310 | Ned Batchelder | 2022-05-18 | 1 | -3/+10 |
| | |||||
* | Use tomllib on Python 3.11 (#1359) | Shantanu | 2022-05-15 | 2 | -8/+11 |
| | | | Co-authored-by: hauntsaninja <> | ||||
* | test: remove version-specfic skips we no longer need | Ned Batchelder | 2022-05-13 | 2 | -26/+0 |
| | |||||
* | test: CPython #92236 is fixed for 3.11.0b2 | Ned Batchelder | 2022-05-13 | 1 | -1/+2 |
| | |||||
* | test: skip tests that fail until CPython #92236 is fixed | Ned Batchelder | 2022-05-12 | 1 | -0/+20 |
| | | | | https://github.com/python/cpython/issues/92236 | ||||
* | style: parens should indent the same as their opening line | Ned Batchelder | 2022-05-01 | 22 | -115/+115 |
| | |||||
* | build: Build and test tweaks to help with cross-compilation | Steve Dower | 2022-04-30 | 3 | -6/+11 |
| | | | | | | | | | | | | | | | For context, I've been testing whether a range of popular libraries are going to work on Windows ARM64. (This requires compiling on a regular x64 machine and then copying the wheel to an ARM64 one for testing.) The good news is, coverage seems to be just fine without any changes. However, because of a few assumptions in the test suite about always testing an in-place build, I had to make some tweaks to be able to run tests. My proposed tweaks should be fine for current uses, but they also allow the following: * support `SETUPTOOLS_EXT_SUFFIX` when building to override the pyd tag on Windows (used with `setup.py build_ext -L <path>` to point at [pythonarm64](https://www.nuget.org/packages/pythonarm64/) import libraries to do the cross-compile) * allow `COVERAGE_INSTALL_ARGS` to override how the tests install coverage into a venv (allows to point at a wheel rather than rebuilding from the sources) * allow `python igor.py remove_extension --from-install` to delete the extension module from `site-packages` rather than only the source tree * other changes to allow removing the `coverage` directory from the source tree before tests so that the installed copy will be used instead. I've tested these on my own Windows ARM64 machine, though unfortunately there aren't any available on CI services yet. If you wanted to start releasing (preview) wheels for win-arm64 you can, but there's no support (yet) in `cibuildwheel` or `build` to do it (because those tools don't really have a concept of cross-compilation for Windows at all... yet ;-) ). For the linter | ||||
* | fix: protect fullcoverage against lineno=None, bpo46911 | Ned Batchelder | 2022-03-03 | 1 | -4/+0 |
| | | | | https://bugs.python.org/issue46911 | ||||
* | test: no need to protect against a 3.11.0a4 bug anymore | Ned Batchelder | 2022-03-03 | 2 | -18/+0 |
| | |||||
* | fix: pypy3.9 traces decorators like CPython 3.8 | Ned Batchelder | 2022-02-20 | 2 | -20/+0 |
| | |||||
* | style: remove pylint exclusions only needed for 2/3 | Ned Batchelder | 2022-02-20 | 1 | -1/+1 |
| | |||||
* | fix: provide an intelligible error message for multiprocessing with no ↵ | Ned Batchelder | 2022-02-09 | 1 | -0/+4 |
| | | | | config file. #1320 | ||||
* | refactor(test): simplify these tests | Ned Batchelder | 2022-02-09 | 1 | -12/+4 |
| | |||||
* | test: dropping old Python versions mean we no longer need ↵ | Ned Batchelder | 2022-02-06 | 1 | -8/+5 |
| | | | | optimize_if_not_debug=0 | ||||
* | test: nicer way to test debug=pybehave | Ned Batchelder | 2022-02-06 | 2 | -5/+7 |
| | |||||
* | debug: pybehave is now an option on `coverage debug` | Ned Batchelder | 2022-02-06 | 2 | -1/+20 |
| | |||||
* | refactor: out_lines was a bad name for a multi-line string. | Ned Batchelder | 2022-02-06 | 1 | -22/+21 |
| | |||||
* | test: SQLite errors come in a few forms | Ned Batchelder | 2022-02-06 | 1 | -3/+4 |
| | |||||
* | doc, test: clean up from 'better tracing of pytracer changed' | Ned Batchelder | 2022-02-06 | 1 | -2/+2 |
| | | | | | Commit d35e8c4624bd074c4e55a8e8a33c343f734299db changed the message, but the docs and tests weren't updated. | ||||
* | test: make if_not_debug optimization testing a little more rational | Ned Batchelder | 2022-02-06 | 1 | -5/+3 |
| | |||||
* | test: adapt to PyPy 3.9 v7.8.8 | Ned Batchelder | 2022-02-06 | 2 | -1/+22 |
| | |||||
* | refactor(test): a context manager to swallow warnings | Ned Batchelder | 2022-02-04 | 4 | -5/+24 |
| | |||||
* | test: include lock debugging in the debug_callers test | Ned Batchelder | 2022-02-03 | 1 | -1/+1 |
| | |||||
* | test: update --precision & --fail-under tests to really test the fix from #1317 | Ned Batchelder | 2022-02-01 | 1 | -38/+51 |
| | |||||
* | fix: use --precision argument when checking --fail-under (#1317) | Marcelo Trylesinski | 2022-02-01 | 1 | -0/+3 |
| | | | | | | | | | | | | | * build: windows 3.11.0a4 started failing to save the pip cache * Fix precision argument when using cmd * Remove print * Remove isort things * last isort... Co-authored-by: Ned Batchelder <ned@nedbatchelder.com> | ||||
* | debug: better tracing of pytracer changed | Ned Batchelder | 2022-01-30 | 1 | -1/+8 |
| | |||||
* | test: skip tests on py 3.11.0a4 that are failing in metacov | Ned Batchelder | 2022-01-29 | 2 | -2/+12 |
| | | | | | This specific set of circumstances was triggering https://bugs.python.org/issue44088 | ||||
* | test: bpo 46028 only is a problem under very specific circumstances | Ned Batchelder | 2022-01-27 | 1 | -1/+6 |
| | |||||
* | feat: use --data-file to configure the coverage database | Nikita Bloshchanevich | 2022-01-25 | 1 | -0/+25 |
| | |||||
* | test: the sigterm tests have some race conditions, let them re-run if needed | Ned Batchelder | 2022-01-23 | 1 | -0/+1 |
| | |||||
* | fix: save data on SIGTERM #1307 | Ned Batchelder | 2022-01-23 | 1 | -0/+79 |
| | | | | This covers multiprocessing.Process.terminate(), and maybe other cases also. | ||||
* | style: cleanups after lcov, though more than just lcov | Ned Batchelder | 2022-01-22 | 1 | -154/+121 |
| | |||||
* | fix: small fixes to lcov, and changes.rst mention. | Ned Batchelder | 2022-01-22 | 1 | -5/+5 |
| | |||||
* | feat: add "lcov" command for generating LCOV reports | Bradley Burns | 2022-01-22 | 2 | -18/+381 |
| | | | | | | | * Add LCOV functionality into coverage.py * Add testing for the LCOV reporter * Add documentation for the LCOV reporter | ||||
* | test: bpo46389 improvements on tip of cpython | Ned Batchelder | 2022-01-22 | 1 | -2/+2 |
| | |||||
* | test: bpo46028 was fixed in 3.11 this week | Ned Batchelder | 2022-01-22 | 1 | -1/+1 |
| | |||||
* | test: add one sql test to cover an unlikely case in the code | Ned Batchelder | 2022-01-21 | 1 | -5/+13 |
| | |||||
* | fix: create the db as needed when accessed | Ned Batchelder | 2022-01-20 | 1 | -15/+2 |
| | |||||
* | test: i can't figure out what versions of 3.9 this passes or fails | Ned Batchelder | 2022-01-19 | 1 | -1/+1 |
| | |||||
* | refactor(test): use xfail for tests that fail on specific versions of Python | Ned Batchelder | 2022-01-19 | 6 | -25/+19 |
| | |||||
* | test: minor cleanup from start_method fixture work | Ned Batchelder | 2022-01-15 | 1 | -2/+1 |
| | | | | | | We only had to use remove_files because try_multiprocessing_code used to be called twice in one test. Now that it's only called once, we don't have to clean out stale data files. | ||||
* | fix: proper tracing of call/return for Python 3.11.0a4 | Ned Batchelder | 2022-01-15 | 1 | -2/+0 |
| | | | | | Version 3.11.0a4 introduced RESUME, so returns and calls are different now. This change also fixes some mishandling of yield-from in previous releases. | ||||
* | test: skip tests suffering from bpo 46389 (3.11) | Ned Batchelder | 2022-01-15 | 2 | -3/+13 |
| | |||||
* | test: virtualenv tests are still broken on 3.11.0a4 (bpo 46028) | Ned Batchelder | 2022-01-15 | 1 | -1/+1 |
| | |||||
* | test: skip test that fails due to bpo 46331 | Ned Batchelder | 2022-01-15 | 1 | -0/+5 |
| |