Code coverage measurement for Python

Edit Package python-coverage
http://pypi.python.org/coverage

Coverage.py measures code coverage, typically during test execution. It uses
the code analysis tools and tracing hooks provided in the Python standard
library to determine which lines are executable, and which have been executed.

Refresh
Refresh
Source Files
Filename Size Changed
coverage-7.2.1.tar.gz 0000812219 793 KB
python-coverage.changes 0000051639 50.4 KB
python-coverage.spec 0000003862 3.77 KB
Revision 53 (latest revision is 62)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1071881 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 53)
- update to 7.2.1:
  * Fix: the PyPI page had broken links to documentation pages,
    but no longer does
  * Fix: public members of the coverage module are now properly
    indicated so that mypy will find them
  * Added a new setting ``[report] exclude_also`` to let you add
    more exclusions without overwriting the defaults.
  * Added a :meth:`.CoverageData.purge_files` method to remove
    recorded data for a particular file.
  * Fix: when reporting commands fail, they will no longer
    congratulate themselves with messages like "Wrote XML
    report to file.xml" before spewing a traceback about
    their failure.
  * Fix: arguments in the public API that name file paths now
    accept pathlib.Path objects.  This includes the
    ``data_file`` and ``config_file`` arguments to
    the Coverage constructor and the ``basename`` argument to
    CoverageData.
  * Fix: In some embedded environments, an IndexError could occur
    on stop() when the originating thread exits before completion.
    This is now fixed, thanks to
  * Added a ``py.typed`` file to announce our type-hintedness.
Comments 0
openSUSE Build Service is sponsored by