Package: cov-core
Version: 1.13.0-1

setup.py generated a init_cov_core.pth to be installed in a system python path like /usr/lib/python3/dist-packages/. It contains: import os; os.environ.get('COV_CORE_SOURCE') and __import__('cov_core_init').init()

This enables to initialize code coverage report in subprocess (which is one of the advantage of nose-cov, using cov-core over the standard nose coverage plugin). As this is controlled by an environment variable, set by nose when enabling the plugin, it seems to only have minimal impact on python startup time for people installing those packages (just opening the file).

A simple test can be to activate coverage on a test making a subprocess.call(). The opened module won't be covered without that file.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to