diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-20 15:20:17 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-11-20 15:20:17 -0500 |
commit | 4d3462f262bf987873cebb2d527963fb1eb8a53a (patch) | |
tree | a0c34bb483a2ba5ca2ad4d104665caea2409ce70 /igor.py | |
parent | 28f407337314d00222110577621b082210825414 (diff) | |
download | python-coveragepy-git-4d3462f262bf987873cebb2d527963fb1eb8a53a.tar.gz |
Use my fix for pytest
Diffstat (limited to 'igor.py')
-rw-r--r-- | igor.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -105,10 +105,10 @@ def run_tests(tracer, *nose_args): if 'COVERAGE_PYTEST' in os.environ: import pytest runner_args = list(nose_args) - pytest.main(runner_args) + return pytest.main(runner_args) else: nose_args = ["nosetests"] + list(nose_args) - nose.core.main(argv=nose_args) + return nose.core.main(argv=nose_args) def run_tests_with_coverage(tracer, *nose_args): |