code: def test_add_edges_from2(self):
      G = self.G()
      # after failing silently, should add 2nd edge
      G.add_edges_from([tuple("IJ"), list("KK"), tuple("JK")])
      assert G.has_edge(*("I", "J"))
      assert G.has_edge(*("K", "K"))
      assert G.has_edge(*("J", "K"))
      if G.is_directed():
          assert not G.has_edge(*("K", "J"))
      else:
          assert G.has_edge(*("K", "J"))
  
imports: import pytest
  import networkx
  from networkx import convert_node_labels_to_integers
  from networkx.utils import edges_equal, nodes_equal
label_desc: Use image node_id 16 for calling the HistoricalTests obj's underlying member method code with example usage: obj.test_add_edges_from2() without return types