code: def test_read_edgelist_3(self):
      s = b"""\
  # comment line
  1 2 {'weight':2.0}
  # comment line
  2 3 {'weight':3.0}
  """
      bytesIO = io.BytesIO(s)
      G = bipartite.read_edgelist(bytesIO, nodetype=int, data=False)
      assert edges_equal(G.edges(), [(1, 2), (2, 3)])
  
      bytesIO = io.BytesIO(s)
      G = bipartite.read_edgelist(bytesIO, nodetype=int, data=True)
      assert edges_equal(
          G.edges(data=True),
          [(1, 2, {"weight": 2.0}), (2, 3, {"weight": 3.0})],
      )
  
imports: import io
  import pytest
  import networkx
  from networkx.algorithms import bipartite
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 3 for calling the TestEdgelist obj's underlying member method code with example usage: obj.test_read_edgelist_3() without return types