From e6b807a4fbae9b726e4b59eae85e24d1a0d56b94 Mon Sep 17 00:00:00 2001 From: abhamra Date: Thu, 5 Oct 2023 20:41:41 -0400 Subject: [PATCH] fixes for black --- tests/rustworkx_tests/digraph/test_clear.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/rustworkx_tests/digraph/test_clear.py b/tests/rustworkx_tests/digraph/test_clear.py index 8019911d2..351512d98 100644 --- a/tests/rustworkx_tests/digraph/test_clear.py +++ b/tests/rustworkx_tests/digraph/test_clear.py @@ -19,8 +19,8 @@ class TestClear(unittest.TestCase): def test_clear(self): dag = rustworkx.PyDAG() node_a = dag.add_node("a") - node_b = dag.add_child(node_a, "b", {"a": 1}) # noqa: F841 - node_c = dag.add_child(node_a, "c", {"a": 2}) # noqa: F841 + node_b = dag.add_child(node_a, "b", {"a": 1}) # noqa: F841 + node_c = dag.add_child(node_a, "c", {"a": 2}) # noqa: F841 dag.clear() self.assertEqual(dag.num_nodes(), 0) self.assertEqual(dag.num_edges(), 0) @@ -44,8 +44,8 @@ def test_clear_reuse(self): def test_clear_edges(self): dag = rustworkx.PyDAG() node_a = dag.add_node("a") - node_b = dag.add_child(node_a, "b", {"a": 1}) # noqa: F841 - node_c = dag.add_child(node_a, "c", {"a": 2}) # noqa: F841 + node_b = dag.add_child(node_a, "b", {"a": 1}) # noqa: F841 + node_c = dag.add_child(node_a, "c", {"a": 2}) # noqa: F841 dag.clear_edges() self.assertEqual(dag.num_nodes(), 3) self.assertEqual(dag.num_edges(), 0)