diff --git a/libs/langgraph/tests/test_pregel.py b/libs/langgraph/tests/test_pregel.py index 7357a0f43..0e77b65c9 100644 --- a/libs/langgraph/tests/test_pregel.py +++ b/libs/langgraph/tests/test_pregel.py @@ -11634,7 +11634,7 @@ def test_debug_subgraphs(): assert len(checkpoint_events) == len(checkpoint_history) - def normalize_config(config: dict | None) -> dict | None: + def normalize_config(config: Optional[dict]) -> Optional[dict]: if config is None: return None return config["configurable"] diff --git a/libs/langgraph/tests/test_pregel_async.py b/libs/langgraph/tests/test_pregel_async.py index 63a2f75f7..92b1ebf9a 100644 --- a/libs/langgraph/tests/test_pregel_async.py +++ b/libs/langgraph/tests/test_pregel_async.py @@ -9871,7 +9871,7 @@ async def test_debug_subgraphs(): assert len(checkpoint_events) == len(checkpoint_history) - def normalize_config(config: Optional[dict, None]) -> Optional[dict, None]: + def normalize_config(config: Optional[dict]) -> Optional[dict]: if config is None: return None return config["configurable"]