python2-coverage

Code coverage testing module for Python 2

License: ASL 2.0 and MIT and (MIT or GPL) http://nedbatchelder.com/code/modules/coverage.html

Availability

Distro aarch64 noarch x86_64 Version
RHEL 10
RHEL 9
RHEL 8 4.5.4
RHEL 7
RHEL 6

Description

Coverage.py is a Python 2 module that measures code coverage during Python 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.

Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

Install

CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install python2-coverage