update test case for new exception output

This commit is contained in:
Florian Förster 2025-11-11 10:38:24 +01:00
parent 84f1f6fb1b
commit 7a6081815c

View File

@ -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]