From 9ca613da0a4098c0e01f8b80af0af9b6006856d6 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Sat, 4 Jun 2022 08:50:53 +0200 Subject: [PATCH] coverage.py: instead of printing the length of the skipped dictionary, print the sum of the length of lists of tests it references --- coverage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage.py b/coverage.py index 71f4a09..4ca77f7 100755 --- a/coverage.py +++ b/coverage.py @@ -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: