We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3295838 commit 079f839Copy full SHA for 079f839
tests/util/test_graph.py
@@ -33,7 +33,7 @@ def test_topological_order_cycle() -> None:
33
graph: dict[str, set[str]] = OrderedDict()
34
graph["A"] = {"B", "C"}
35
graph["B"] = {"A"}
36
- with pytest.raises(ValueError, match="A | B"):
+ with pytest.raises(ValueError, match=r"^A \| B$"):
37
stable_topological_sort(graph)
38
39
@@ -68,5 +68,5 @@ def test_two_sub_graph_circle() -> None:
68
69
70
graph["C"] = set()
71
72
0 commit comments