Skip to content

Commit be30528

Browse files
committed
Fix coverage
1 parent b70fe26 commit be30528

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydantic_graph/pydantic_graph/beta/graph_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,8 @@ def _handle_path(p: Path):
329329
pass
330330

331331
def _handle_destination_node(d: AnyDestinationNode):
332-
if id(d) in destination_ids: # pragma: no cover
333-
return # prevent infinite recursion if there is a cycle of decisions; not sure if this is possible
332+
if id(d) in destination_ids:
333+
return # prevent infinite recursion if there is a cycle of decisions
334334

335335
destination_ids.add(id(d))
336336
destinations.append(d)

0 commit comments

Comments
 (0)