Tweaked the wording of coverage_changes output.
- Legacy-Id: 15048
This commit is contained in:
parent
1591b3ebd2
commit
fac57c24a7
|
@ -140,13 +140,12 @@ class Command(BaseCommand):
|
|||
self.stdout.write(self.diff_line_format % (mval, lval, key, ))
|
||||
if mmisslines and lmisslines and set(lmissnum) != set(mmissnum) and options.get('verbosity',1) > 1:
|
||||
self.stdout.write(' ------------------------------------------------------------')
|
||||
self.stdout.write(' Coverage lost: -')
|
||||
self.stdout.write(' Coverage gained: +')
|
||||
self.stdout.write(' Missing coverage: changes')
|
||||
ln = 0
|
||||
mn = 0
|
||||
p = -1
|
||||
n = 0
|
||||
for line in ndiff(lmisslines, mmisslines):
|
||||
for line in ndiff(mmisslines, lmisslines):
|
||||
if ln < len(lmissnum):
|
||||
n = lmissnum[ln]
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue