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]