Skip to content

Commit 717ebb9

Browse files
committed
Update test_graph.py
1 parent e425009 commit 717ebb9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_graph.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ def test_example_nodes(self):
4141
non_variables = {
4242
node for node in example.graph.nodes() if not isinstance(node, Variable)
4343
}
44-
self.assertEquals(
45-
0, len(non_variables), msg=f"Found non-variables: {non_variables}"
46-
)
44+
self.assertEqual(0, len(non_variables), msg=f"Found non-variables: {non_variables}")
4745

4846
def test_causaleffect_str_verma_1(self):
4947
"""Test generating R code for the figure 1A graph for causaleffect."""

0 commit comments

Comments
 (0)