diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-07 08:10:47 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-07 08:10:47 -0500 |
commit | 9adfdefd08da29fc78912e9c0f7ce03209b90a8c (patch) | |
tree | b7b521580ce973022e66df32266228ebf85b21ea /igor.py | |
parent | da39c35665ff5bd7d67dde0230dfe28da395047e (diff) | |
download | python-coveragepy-git-9adfdefd08da29fc78912e9c0f7ce03209b90a8c.tar.gz |
Properly return final status when measuring our own coverage
Diffstat (limited to 'igor.py')
-rw-r--r-- | igor.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -162,7 +162,7 @@ def run_tests_with_coverage(tracer, *runner_args): sys.modules.update(covmods) # Run tests, with the arguments from our command line. - run_tests(tracer, *runner_args) + status = run_tests(tracer, *runner_args) finally: cov.stop() @@ -171,6 +171,8 @@ def run_tests_with_coverage(tracer, *runner_args): cov.combine() cov.save() + return status + def do_combine_html(): """Combine data from a meta-coverage run, and make the HTML and XML reports.""" |