coveragepy
coveragepy copied to clipboard
The code coverage tool for Python
implements #956 Tests on 3.6 are passing. I have run it on python 2.7 but not the tests as pip will not install dependencies due to ssl errors. On 2.7...
Adds `--concurrency=twisted` which causes coverage to be tracked across child processes created with Twisted's `reactor.spawnProcess`. I'm not entirely happy with the sitecustomize management code. Also it seems like this could...
One of the items on the [wishlist](https://github.com/numpy/numpy/issues/12548) for testing docstrings in NumPy / SciPy is the ability to report "coverage" for those docstrings that are probed by doctesting infrastructure. In...
Use the same logic as HtmlReporter. Ref: https://github.com/nedbat/coveragepy/issues/659 TODO: - [ ] test(s) (see https://github.com/nedbat/coveragepy/pull/676)
When overriding `exclude_lines` e.g. to exclude `pytest.fail` or `...`, we often include the existing `DEFAULT_EXCLUDE` pattern (currently `\#\s*(pragma|PRAGMA)[:\s]?\s*(no|NO)\s*(cover|COVER)`) to maintain the effect of existing "pragma: no cover"s. This is cumbersome...
**Describe the bug** When switching to Coverage.py 6.2 the multiprocess detection doesn't seem to work as well as 6.1.2 **To Reproduce** How can we reproduce the problem? Please *be specific*....
**Is your feature request related to a problem? Please describe.** When I run coverage against my code that has _zero_ tests run, it's frustrating to see a coverage total above...
**Describe the bug** Odd failure on PyPy, but not CPython. See PyPy bug for details: https://foss.heptapod.net/pypy/pypy/-/issues/3751 ``` Traceback (most recent call last): File "django-csp/.tox/pypy3.9-main/bin/pytest", line 8, in sys.exit(console_main()) File "django-csp/.tox/pypy3.9-main/lib/pypy3.9/site-packages/_pytest/config/__init__.py",...