coverage.py: instead of printing the length of the skipped dictionary, print the sum of the length of lists of tests it references
This commit is contained in:
parent
51ad1426c3
commit
9ca613da0a
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ def main():
|
||||||
file=sys.stderr,
|
file=sys.stderr,
|
||||||
)
|
)
|
||||||
if skipped:
|
if skipped:
|
||||||
print("skipped %d:" % len(skipped), file=sys.stderr)
|
print("skipped %d:" % sum([len(v) for v in skipped.values()]), file=sys.stderr)
|
||||||
for reason, l in skipped.items():
|
for reason, l in skipped.items():
|
||||||
print(f"skipped because of {reason}:", file=sys.stderr)
|
print(f"skipped because of {reason}:", file=sys.stderr)
|
||||||
for t in l:
|
for t in l:
|
||||||
|
|
Loading…
Reference in a new issue