[Tutor] Query regarding using coverage.py for sub-processes

anish p.k anian2005 at gmail.com
Wed Nov 23 07:13:26 EST 2016


Hi,
I had a query regarding the code coverage for pyhton subprocess.I was
referring the below link

https://coverage.readthedocs.io/en/coverage-4.2/subprocess.html
I created a site customize file
./usr/lib/python2.7/site-packages/sitecustomize.py

with the coed snippet

import coveragecoverage.process_startup()

i am wondering what is the value of COVERAGE_PROCESS_START which needs
to be set.

Please do let me know about the same as i am stuck with subprocess
coverage generation

Thanks and Regards

Anish


More information about the Tutor mailing list