File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def test_should_not_cause_logistic_json_stub(self):
70
70
"""Test if the ShouldCause MR passes all metamorphic tests where the DAG perfectly represents the program
71
71
and there is only a single input."""
72
72
causal_dag = CausalDAG (self .dag_dot_path )
73
- causal_dag .graph . remove_nodes_from (["X2" , "X3" ])
73
+ causal_dag .remove_nodes_from (["X2" , "X3" ])
74
74
adj_set = list (causal_dag .direct_effect_adjustment_sets (["X1" ], ["Z" ])[0 ])
75
75
should_not_cause_mr = ShouldNotCause (BaseTestCase ("X1" , "Z" ), adj_set )
76
76
self .assertEqual (
@@ -115,7 +115,7 @@ def test_should_cause_logistic_json_stub(self):
115
115
"""Test if the ShouldCause MR passes all metamorphic tests where the DAG perfectly represents the program
116
116
and there is only a single input."""
117
117
causal_dag = CausalDAG (self .dag_dot_path )
118
- causal_dag .graph . remove_nodes_from (["X2" , "X3" ])
118
+ causal_dag .remove_nodes_from (["X2" , "X3" ])
119
119
adj_set = list (causal_dag .direct_effect_adjustment_sets (["X1" ], ["Z" ])[0 ])
120
120
should_cause_mr = ShouldCause (BaseTestCase ("X1" , "Z" ), adj_set )
121
121
self .assertEqual (
You can’t perform that action at this time.
0 commit comments