diff options
author | David Stanek <dstanek@dstanek.com> | 2010-02-20 18:36:25 -0500 |
---|---|---|
committer | David Stanek <dstanek@dstanek.com> | 2010-02-20 18:36:25 -0500 |
commit | 72231c6c356253323c4e18d4441401b272997c32 (patch) | |
tree | f36127531aeeb5f247d1e5f0f9d71af44f92b9cd /coverage/testplugin.py | |
parent | 00bb4d47c7dddfb7bcfe5d18b47e70f3c1648659 (diff) | |
download | python-coveragepy-git-72231c6c356253323c4e18d4441401b272997c32.tar.gz |
fixed busted nose integration
Diffstat (limited to 'coverage/testplugin.py')
-rw-r--r-- | coverage/testplugin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/coverage/testplugin.py b/coverage/testplugin.py index 7b8c0f43..4ff598a9 100644 --- a/coverage/testplugin.py +++ b/coverage/testplugin.py @@ -49,7 +49,7 @@ class CoverageTestWrapper(object): # Run the script. self.coverage.start() - def finish(self): + def finish(self, stream=None): # end coverage and save the results self.coverage.stop() self.coverage.save() @@ -76,7 +76,8 @@ class CoverageTestWrapper(object): if 'report' in self.options.cover_actions: self.coverage.report( - show_missing=self.options.cover_show_missing, **report_args) + show_missing=self.options.cover_show_missing, + file=stream, **report_args) if 'annotate' in self.options.cover_actions: self.coverage.annotate( directory=self.options.cover_directory, **report_args) |