upgpkg: ocaml-topkg 1.0.5-2
[arch-packages.git] / python-nose / repos / extra-any / python-nose-coverage4.patch
blob94d3f3cb333f67d48bfc50ac6d17794ca76d06e8
1 diff -up nose-1.3.7/nose/plugins/cover.py.coverage4 nose-1.3.7/nose/plugins/cover.py
2 --- nose-1.3.7/nose/plugins/cover.py.coverage4 2015-04-04 03:28:20.000000000 -0600
3 +++ nose-1.3.7/nose/plugins/cover.py 2016-11-09 16:16:32.832927855 -0700
4 @@ -187,7 +187,7 @@ class Coverage(Plugin):
5 for name, module in sys.modules.items()
6 if self.wantModuleCoverage(name, module)]
7 log.debug("Coverage report will cover modules: %s", modules)
8 - self.coverInstance.report(modules, file=stream)
9 + self.coverInstance.report(modules, file=stream, show_missing=True)
11 import coverage
12 if self.coverHtmlDir:
13 @@ -207,7 +207,7 @@ class Coverage(Plugin):
14 # make sure we have minimum required coverage
15 if self.coverMinPercentage:
16 f = StringIO.StringIO()
17 - self.coverInstance.report(modules, file=f)
18 + self.coverInstance.report(modules, file=f, show_missing=True)
20 multiPackageRe = (r'-------\s\w+\s+\d+\s+\d+(?:\s+\d+\s+\d+)?'
21 r'\s+(\d+)%\s+\d*\s{0,1}$')