From 0a34a71eb6e2fcfc599434ea3fee61992357f5ac Mon Sep 17 00:00:00 2001 From: Tiago Freire Date: Thu, 23 Apr 2026 11:01:25 -0300 Subject: [PATCH] test(flow): document intentional LookupError swallow in reset fixture --- lib/crewai/tests/test_flow_execution_id.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/crewai/tests/test_flow_execution_id.py b/lib/crewai/tests/test_flow_execution_id.py index a90ceba54..95088d4b6 100644 --- a/lib/crewai/tests/test_flow_execution_id.py +++ b/lib/crewai/tests/test_flow_execution_id.py @@ -123,4 +123,5 @@ def _reset_flow_context_vars(): try: var.set(None) except LookupError: + # ContextVar was never set in this context; nothing to reset. pass