diff --git a/tests/test_eval.py b/tests/test_eval.py index a85f7c4..1215294 100644 --- a/tests/test_eval.py +++ b/tests/test_eval.py @@ -312,8 +312,7 @@ def test_constituents_error() -> None: aggregate = results[1] assert aggregate["attr"] == "aggregate" assert "namedConstituents" not in aggregate - assert "\ndoesntexist: does not exist\n" in aggregate["error"] - assert aggregate["error"].startswith("doesnteval: error:") + assert "doesntexist: does not exist\n" in aggregate["error"] assert "constituents" in aggregate