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 2c52d49 commit 5cc5bccCopy full SHA for 5cc5bcc
1 file changed
tests/test_cmd2.py
@@ -1344,7 +1344,8 @@ def test_async_alert_rich(base_app: cmd2.Cmd) -> None:
1344
1345
# Verify that print_formatted_text was called with a formatted ANSI object
1346
assert mock_print.called
1347
- printed_arg = mock_print.call_args[0][0]
+ args, _kwargs = mock_print.call_args
1348
+ printed_arg = args[0]
1349
assert isinstance(printed_arg, ANSI)
1350
1351
# The printed text should contain our table values
0 commit comments