From c455fea72919aab26a2e82d8ea0e4353ab74c59c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 5 Sep 2022 07:52:36 +0530 Subject: [PATCH] Also output screen contents when test fails --- kitty_tests/shell_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/shell_integration.py b/kitty_tests/shell_integration.py index 7cc3ca507..7b83c6fdc 100644 --- a/kitty_tests/shell_integration.py +++ b/kitty_tests/shell_integration.py @@ -368,4 +368,4 @@ PS1="{ps1}" pty.send_cmd_to_child('clone-in-kitty') pty.wait_till(lambda: len(pty.callbacks.clone_cmds) == 1) env = pty.callbacks.clone_cmds[0].env - self.ae(env.get('ES'), 'a\n `b` c\n$d') + self.ae(env.get('ES'), 'a\n `b` c\n$d', f'Screen contents: {pty.screen_contents()!r}')