code: def test_do_surgery(self):
      res1 = self.graph_obj.do_surgery(self.action_node)
      res2 = do_surgery(self.nx_graph, self.action_node)
      assert list(res1.nodes) == list(res2.nodes)
      assert res1.edges == res2.edges
  
imports: import networkx
  import pandas
  import pytest
  from flaky import flaky
  from pytest import mark
  import dowhy
  import dowhy.datasets
  from dowhy import CausalModel
  from dowhy.graph import *
  from dowhy.utils.graph_operations import daggity_to_dot
label_desc: Use image node_id 3 for calling the TestCausalGraph obj's underlying member method code with example usage: obj.test_do_surgery() without return types