coverage.py: instead of printing the length of the skipped dictionary, print the sum of the length of lists of tests it references

debextract
parent 51ad1426c3
commit 9ca613da0a
Signed by untrusted user: josch
GPG Key ID: F2CBA5C78FBD83E1

@ -238,7 +238,7 @@ def main():
file=sys.stderr,
)
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():
print(f"skipped because of {reason}:", file=sys.stderr)
for t in l:

Loading…
Cancel
Save