Skip to content

Commit

Permalink
Remove an unused g variable in pydot_unittest.py (#298)
Browse files Browse the repository at this point in the history
* Remove an unused variable in `pydot_unittest.py` and fix a style issue

* Revert the formatting change
  • Loading branch information
lkk7 committed Dec 16, 2023
1 parent 5efc6cc commit 23f6105
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/pydot_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def test_keep_graph_type(self):
self.assertEqual(g.get_type(), "digraph")

def test_add_style(self):
g = pydot.Dot(graph_name="Test", graph_type="graph")
node = pydot.Node("mynode")
node.add_style("abc")
self.assertEqual(node.get_style(), "abc")
Expand Down

0 comments on commit 23f6105

Please sign in to comment.