From 57dc3fef3b73ed7b9369604ad4927137b8044d94 Mon Sep 17 00:00:00 2001 From: maleicacid <4982384+kazuki0824@users.noreply.github.com> Date: Sun, 15 Dec 2024 17:47:39 +0900 Subject: [PATCH] Update test_strongly_connected.py --- tests/digraph/test_strongly_connected.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/digraph/test_strongly_connected.py b/tests/digraph/test_strongly_connected.py index 8802521a0..22c352d3b 100644 --- a/tests/digraph/test_strongly_connected.py +++ b/tests/digraph/test_strongly_connected.py @@ -115,5 +115,5 @@ def test_condensation(self): self.assertTrue(set(scc1) == {"e", "f", "g", "h"} or set(scc2) == {"e", "f", "g", "h"}) # エッジの内容を確認 - source, target, weight = *condensed_graph.edge_list()[0], condensed_graph.edges()[0] + weight = condensed_graph.edges()[0] self.assertIn("b->e", weight) # 縮約後のグラフにおいて、正しいエッジが残っていることを確認