coveragepy
coveragepy copied to clipboard
The code coverage tool for Python
**Is your feature request related to a problem? Please describe.** Usually, all my Python projects are documented using Sphinx. Such a documentation contains also an auto generated Python Class Reference...
Started happening in the past two weeks, within the tox CI: https://github.com/tox-dev/tox/actions/runs/7499587729/job/20435785537 in `.tox/py3.12/lib/python3.12/site-packages/coverage/collector.py:507: RuntimeError` ```python _______________ ERROR at teardown of test_list_env_package_self ________________ self = item = def pytest_runtest_teardown(self, item):...
*Originally reported by* **Chris Jerdonek (Bitbucket: [cjerdonek](https://bitbucket.org/cjerdonek), GitHub: [cjerdonek](https://github.com/cjerdonek))** ---------------------------------------- I'm experiencing odd behavior I'm hoping you can help with. I'm invoking coverage like this-- $ coverage run --source=my_package scripts/run_tests.py...
Ruff is much faster, and has broad support. https://github.com/akx/pylint-to-ruff could help. https://github.com/astral-sh/ruff/issues/970#issuecomment-1677732895 could also help.
**Describe the bug** When executing `run`, `PyRunner` monkey-patches the path so that the directory of the file being run is the first entry in the path instead of the directory...
**Describe the bug** The filter on the coverage resets its state when I go to the previous page. **To Reproduce** Python 3.8.10 coverage.py v7.0.1 in my code, and the live...
**Is your feature request related to a problem? Please describe.** I maintain a docker image which is used for testing multiple different projects, and I'd like to provide a set...
**Describe the bug** Below is how my code running: 1. Firstly, run a bash script in supervisor.conf:  2. Secondly, use `coverage` run a python file in bash script: `coverage...
**Describe the bug** I am unable to collect code coverage using Django's `ChannelsLiveServerTestCase`. On the other hand, I am able to collect code coverage when extending from Django's `LiveServerTestCase`. **To...
**Describe the bug** In the screenshot below, line 1364 is marked as not covered and line 1367 is marked as covered. This cannot happen. The only way to get to...