summaryrefslogtreecommitdiff
path: root/nose
diff options
context:
space:
mode:
authorJohn Szakmeister <john@szakmeister.net>2014-02-12 15:53:32 -0500
committerJohn Szakmeister <john@szakmeister.net>2014-02-12 15:53:32 -0500
commitf68073d2130ecb5a4c5a03af2d243d6c70d40a2b (patch)
treee1fbd0e0113d210128cbd9861cc14871801487e1 /nose
parent18b8641731cec13ca312f86f5f418053ecc649c9 (diff)
parent452a0e1e79d60a57de015180e1ab4b3564203b7e (diff)
downloadnose-f68073d2130ecb5a4c5a03af2d243d6c70d40a2b.tar.gz
Merge pull request #739 from chebee7i/cover_package
Instruct coverage instance to cover requested packages only.
Diffstat (limited to 'nose')
-rw-r--r--nose/plugins/cover.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nose/plugins/cover.py b/nose/plugins/cover.py
index 1751808..3cd390d 100644
--- a/nose/plugins/cover.py
+++ b/nose/plugins/cover.py
@@ -140,7 +140,8 @@ class Coverage(Plugin):
if self.enabled:
self.status['active'] = True
self.coverInstance = coverage.coverage(auto_data=False,
- branch=self.coverBranches, data_suffix=None)
+ branch=self.coverBranches, data_suffix=None,
+ source=self.coverPackages)
def begin(self):
"""