Blame SOURCES/python-nose-coverage4.patch
|
|
0504c5 |
diff -up nose-1.3.7/nose/plugins/cover.py.coverage4 nose-1.3.7/nose/plugins/cover.py
|
|
|
0504c5 |
--- nose-1.3.7/nose/plugins/cover.py.coverage4 2015-04-04 03:28:20.000000000 -0600
|
|
|
0504c5 |
+++ nose-1.3.7/nose/plugins/cover.py 2016-11-09 16:16:32.832927855 -0700
|
|
|
0504c5 |
@@ -187,7 +187,7 @@ class Coverage(Plugin):
|
|
|
0504c5 |
for name, module in sys.modules.items()
|
|
|
0504c5 |
if self.wantModuleCoverage(name, module)]
|
|
|
0504c5 |
log.debug("Coverage report will cover modules: %s", modules)
|
|
|
0504c5 |
- self.coverInstance.report(modules, file=stream)
|
|
|
0504c5 |
+ self.coverInstance.report(modules, file=stream, show_missing=True)
|
|
|
0504c5 |
|
|
|
0504c5 |
import coverage
|
|
|
0504c5 |
if self.coverHtmlDir:
|
|
|
0504c5 |
@@ -207,7 +207,7 @@ class Coverage(Plugin):
|
|
|
0504c5 |
# make sure we have minimum required coverage
|
|
|
0504c5 |
if self.coverMinPercentage:
|
|
|
0504c5 |
f = StringIO.StringIO()
|
|
|
0504c5 |
- self.coverInstance.report(modules, file=f)
|
|
|
0504c5 |
+ self.coverInstance.report(modules, file=f, show_missing=True)
|
|
|
0504c5 |
|
|
|
0504c5 |
multiPackageRe = (r'-------\s\w+\s+\d+\s+\d+(?:\s+\d+\s+\d+)?'
|
|
|
0504c5 |
r'\s+(\d+)%\s+\d*\s{0,1}$')
|