From 79b17138b23f524e01119fd45448d2e1363d7c21 Mon Sep 17 00:00:00 2001 From: John Gerrard Holland Date: Fri, 24 May 2024 13:15:14 -0400 Subject: [PATCH] test: update error string --- src/autora/state_history_delta.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/autora/state_history_delta.py b/src/autora/state_history_delta.py index a58e1c80..2b73dfe0 100644 --- a/src/autora/state_history_delta.py +++ b/src/autora/state_history_delta.py @@ -453,10 +453,7 @@ def _history_filter_to_last(history: Sequence[Union[Mapping, State]], condition) >>> list(_history_filter_to_last(h, lambda e: "nowhere" in e)) Traceback (most recent call last): ... - TypeError: argument of type 'State' is not iterable - - >>> list(_history_filter_to_last(h, lambda e: e.get("nowhere", None))) - [] + TypeError: argument of type 'NState' is not iterable """ filtered_history = _filter_to_last(condition, history)