code: def test_remove_edges_from(self):
      G = self.K3.copy()
      G.remove_edges_from([(0, 1)])
      kd = {0: {}}
      assert G.adj == {0: {2: kd}, 1: {2: kd}, 2: {0: kd, 1: kd}}
      G.remove_edges_from([(0, 0)])  # silent fail
      self.K3.add_edge(0, 1)
      G = self.K3.copy()
      G.remove_edges_from(list(G.edges(data=True, keys=True)))
      assert G.adj == {0: {}, 1: {}, 2: {}}
      G = self.K3.copy()
      G.remove_edges_from(list(G.edges(data=False, keys=True)))
      assert G.adj == {0: {}, 1: {}, 2: {}}
      G = self.K3.copy()
      G.remove_edges_from(list(G.edges(data=False, keys=False)))
      assert G.adj == {0: {}, 1: {}, 2: {}}
      G = self.K3.copy()
      G.remove_edges_from([(0, 1, 0), (0, 2, 0, {}), (1, 2)])
      assert G.adj == {0: {1: {1: {}}}, 1: {0: {1: {}}}, 2: {}}
  
imports: from collections import UserDict
  import pytest
  import networkx
  from networkx.utils import edges_equal
  from .test_graph import BaseAttrGraphTester
  from .test_graph import TestGraph
label_desc: Use image node_id 14 for calling the TestMultiGraph obj's underlying member method code with example usage: obj.test_remove_edges_from() without return types