Author ncoghlan
Recipients brett.cannon, ncoghlan, nedbat
Date 2011-05-02.13:46:09
SpamBayes Score 0.000178433
Marked as misclassified No
Message-id <>
Content describes how to instruct a test suite that spawns subprocesses to correctly report coverage data for code covered only in those subprocesses.

regrtest currently doesn't do this, so modules that use subprocesses to run their tests may report inaccurate coverage numbers when using this tool (as recommended in the devguide). (Those numbers are irredeemably inaccurate when it comes to regrtest's own coverage assessment)

It may be better to build explicit invocation of when regrtest is run under into test.script_helper rather than trying to use the implicit mechanism though (as neither sitecustomize nor a .pth file are particularly good ideas when running Python's own test suite).
Date User Action Args
2011-05-02 13:46:10ncoghlansetrecipients: + ncoghlan, brett.cannon, nedbat
2011-05-02 13:46:10ncoghlansetmessageid: <>
2011-05-02 13:46:09ncoghlanlinkissue11978 messages
2011-05-02 13:46:09ncoghlancreate