[lldb] Fix output for unconditionally decorated tests

A missing call to `format` resulted in curly braces getting printed in
the reason a test was modified by a decorator. For example it would
print "{} unconditionally" instead of "skipping unconditionally" for
tests that were marked as such.
This commit is contained in:
Jonas Devlieghere 2022-08-11 16:14:05 -07:00
parent 557e32e002
commit ce075dfa19
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ def _decorateTest(mode,
reason_str = "{} due to the following parameter(s): {}".format(
mode_str, reason_str)
else:
reason_str = "{} unconditionally"
reason_str = "{} unconditionally".format(mode_str)
if bugnumber is not None and not six.callable(bugnumber):
reason_str = reason_str + " [" + str(bugnumber) + "]"
return reason_str