Skip to content

Commit 57dc3fe

Browse files
authored
Update test_strongly_connected.py
1 parent 7946483 commit 57dc3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/digraph/test_strongly_connected.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,5 @@ def test_condensation(self):
115115
self.assertTrue(set(scc1) == {"e", "f", "g", "h"} or set(scc2) == {"e", "f", "g", "h"})
116116

117117
# エッジの内容を確認
118-
source, target, weight = *condensed_graph.edge_list()[0], condensed_graph.edges()[0]
118+
weight = condensed_graph.edges()[0]
119119
self.assertIn("b->e", weight) # 縮約後のグラフにおいて、正しいエッジが残っていることを確認

0 commit comments

Comments
 (0)