Minor update to doctests, to meet ruff requirements

This commit is contained in:
Jordan Sinclair 2024-10-08 00:45:53 -05:00
parent e6a78476a8
commit 8c96ae3680

View File

@ -52,7 +52,7 @@ def check_circuit_or_path(graph, max_node):
Example:
>>> check_circuit_or_path({1: [2, 3], 2: [1, 3], 3: [1, 2]}, 10)
(1, -1)
>>> check_circuit_or_path({1: [2, 3, 4], 2: [1, 3], 3: [1, 2], 4: [], 5: [4]}, 10)
>>> check_circuit_or_path({1: [2, 3, 4], 2: [], 3: [1, 2], 4: [], 5: [4]}, 10)
(2, 5)
>>> check_circuit_or_path({1: [2, 3, 1], 2: [2], 3: [1, 3], 4: [1], 5: []}, 10)
(3, 4)