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 1574059 commit 163f209Copy full SHA for 163f209
src/scwidgets/check/_check.py
@@ -315,6 +315,22 @@ def message(self) -> str:
315
message = Formatter.color_assert_success(
316
f"{self._assert_names[i]} passed",
317
)
318
+ if len(self._inputs_parameters[i]) > 0:
319
+ message += Formatter.color_assert_success(" for input\n")
320
+ elif (isinstance(result, tuple) and len(result) == 3) or not (
321
+ self._suppress_assert_messages[i]
322
+ ):
323
+ message += "\n"
324
+
325
+ message += "\n".join(
326
+ [
327
+ f" {Formatter.color_info_message(param_name)}: "
328
+ f"{param_value!r}"
329
+ for param_name, param_value in self._inputs_parameters[
330
+ i
331
+ ].items()
332
+ ]
333
+ )
334
else:
335
message = Formatter.color_assert_failed(
336
f"{self._assert_names[i]} failed",
0 commit comments