summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* feat(html): version and timestamp at the top of report files.Ned Batchelder2022-05-201-4/+6
| | | | This is a re-implementation of pull #1354.
* style: remove an orphaned importNed Batchelder2022-05-201-1/+0
|
* test: remove file-removal that isn't needed anymoreNed Batchelder2022-05-202-9/+2
|
* test: check that our generated html files have valid hrefsNed Batchelder2022-05-191-1/+25
|
* chore: update html test gold filesJ. M. F. Tsang2022-05-1938-76/+794
|
* fix: the SIGTERM handler is now opt-in. #1310Ned Batchelder2022-05-181-3/+10
|
* Use tomllib on Python 3.11 (#1359)Shantanu2022-05-152-8/+11
| | | Co-authored-by: hauntsaninja <>
* test: remove version-specfic skips we no longer needNed Batchelder2022-05-132-26/+0
|
* test: CPython #92236 is fixed for 3.11.0b2Ned Batchelder2022-05-131-1/+2
|
* test: skip tests that fail until CPython #92236 is fixedNed Batchelder2022-05-121-0/+20
| | | | https://github.com/python/cpython/issues/92236
* style: parens should indent the same as their opening lineNed Batchelder2022-05-0122-115/+115
|
* build: Build and test tweaks to help with cross-compilationSteve Dower2022-04-303-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, bpo46911Ned Batchelder2022-03-031-4/+0
| | | | https://bugs.python.org/issue46911
* test: no need to protect against a 3.11.0a4 bug anymoreNed Batchelder2022-03-032-18/+0
|
* fix: pypy3.9 traces decorators like CPython 3.8Ned Batchelder2022-02-202-20/+0
|
* style: remove pylint exclusions only needed for 2/3Ned Batchelder2022-02-201-1/+1
|
* fix: provide an intelligible error message for multiprocessing with no ↵Ned Batchelder2022-02-091-0/+4
| | | | config file. #1320
* refactor(test): simplify these testsNed Batchelder2022-02-091-12/+4
|
* test: dropping old Python versions mean we no longer need ↵Ned Batchelder2022-02-061-8/+5
| | | | optimize_if_not_debug=0
* test: nicer way to test debug=pybehaveNed Batchelder2022-02-062-5/+7
|
* debug: pybehave is now an option on `coverage debug`Ned Batchelder2022-02-062-1/+20
|
* refactor: out_lines was a bad name for a multi-line string.Ned Batchelder2022-02-061-22/+21
|
* test: SQLite errors come in a few formsNed Batchelder2022-02-061-3/+4
|
* doc, test: clean up from 'better tracing of pytracer changed'Ned Batchelder2022-02-061-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 rationalNed Batchelder2022-02-061-5/+3
|
* test: adapt to PyPy 3.9 v7.8.8Ned Batchelder2022-02-062-1/+22
|
* refactor(test): a context manager to swallow warningsNed Batchelder2022-02-044-5/+24
|
* test: include lock debugging in the debug_callers testNed Batchelder2022-02-031-1/+1
|
* test: update --precision & --fail-under tests to really test the fix from #1317Ned Batchelder2022-02-011-38/+51
|
* fix: use --precision argument when checking --fail-under (#1317)Marcelo Trylesinski2022-02-011-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 changedNed Batchelder2022-01-301-1/+8
|
* test: skip tests on py 3.11.0a4 that are failing in metacovNed Batchelder2022-01-292-2/+12
| | | | | This specific set of circumstances was triggering https://bugs.python.org/issue44088
* test: bpo 46028 only is a problem under very specific circumstancesNed Batchelder2022-01-271-1/+6
|
* feat: use --data-file to configure the coverage databaseNikita Bloshchanevich2022-01-251-0/+25
|
* test: the sigterm tests have some race conditions, let them re-run if neededNed Batchelder2022-01-231-0/+1
|
* fix: save data on SIGTERM #1307Ned Batchelder2022-01-231-0/+79
| | | | This covers multiprocessing.Process.terminate(), and maybe other cases also.
* style: cleanups after lcov, though more than just lcovNed Batchelder2022-01-221-154/+121
|
* fix: small fixes to lcov, and changes.rst mention.Ned Batchelder2022-01-221-5/+5
|
* feat: add "lcov" command for generating LCOV reportsBradley Burns2022-01-222-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 cpythonNed Batchelder2022-01-221-2/+2
|
* test: bpo46028 was fixed in 3.11 this weekNed Batchelder2022-01-221-1/+1
|
* test: add one sql test to cover an unlikely case in the codeNed Batchelder2022-01-211-5/+13
|
* fix: create the db as needed when accessedNed Batchelder2022-01-201-15/+2
|
* test: i can't figure out what versions of 3.9 this passes or failsNed Batchelder2022-01-191-1/+1
|
* refactor(test): use xfail for tests that fail on specific versions of PythonNed Batchelder2022-01-196-25/+19
|
* test: minor cleanup from start_method fixture workNed Batchelder2022-01-151-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.0a4Ned Batchelder2022-01-151-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 Batchelder2022-01-152-3/+13
|
* test: virtualenv tests are still broken on 3.11.0a4 (bpo 46028)Ned Batchelder2022-01-151-1/+1
|
* test: skip test that fails due to bpo 46331Ned Batchelder2022-01-151-0/+5
|