We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa38f28 commit 2e84bb4Copy full SHA for 2e84bb4
parse_logs.py
@@ -129,8 +129,11 @@ def format_variant_group(name, group):
129
filepath, test_name, message = name
130
131
n_variants = len(group)
132
- if n_variants != 0:
+ if n_variants != 1:
133
return f"{filepath}::{test_name}[{n_variants} failing variants]: {message}"
134
+ elif n_variants == 1 and group[0].variant is not None:
135
+ report = more_itertools.one(group)
136
+ return f"{filepath}::{test_name}[{report.variant}]: {message}"
137
else:
138
return f"{filepath}::{test_name}: {message}"
139
0 commit comments