coverage.py: format skipped tests with format_test as well instead of printing a tuple

This commit is contained in:
Johannes Schauer Marin Rodrigues 2023-02-10 09:51:59 +01:00
parent b474150f27
commit ba76c1d3d9
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -371,7 +371,9 @@ def main():
argv = ["./run_null.sh"]
case ("skip", reason):
skipped[reason].append(
("(%d/%d) %s" % (i + 1, len(tests), name), dist, mode, variant, fmt)
format_test(
i + 1, len(tests), name, dist, mode, variant, fmt, config_dict
)
)
print(f"skipped because of {reason}", file=sys.stderr)
continue