From 7a6081815cd98fcb45671cc73a1a71c8e735aa26 Mon Sep 17 00:00:00 2001 From: foefl Date: Tue, 11 Nov 2025 10:38:24 +0100 Subject: [PATCH] update test case for new exception output --- tests/test_interface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_interface.py b/tests/test_interface.py index 1920452..4a907a8 100644 --- a/tests/test_interface.py +++ b/tests/test_interface.py @@ -32,6 +32,10 @@ def test_print_error_state(tmp_path): lines: list[str] with open(output_file, "r") as file: lines = file.readlines() + try: + lines.remove("\n") + except ValueError: # pragma: no cover + pass assert "following exception" in lines[0] assert "Type: RuntimeError" in lines[1]