code: def test_inoutedges(self):
      edges_gone = self.hide_edges_filter(self.hide_edges)
      hide_nodes = [4, 5, 111]
      nodes_gone = nx.filters.hide_nodes(hide_nodes)
      G = self.gview(
          self.G, filter_node=nodes_gone, filter_edge=edges_gone
      )
  
      assert self.G.in_edges - G.in_edges == self.excluded
      assert self.G.out_edges - G.out_edges == self.excluded
  
imports: import pytest
  import networkx
  from networkx.utils import edges_equal
label_desc: Use image node_id 1 for calling the TestSubDiGraphView obj's underlying member method code with example usage: obj.test_inoutedges() without return types