code: def test_parse_edgelist_with_data_dict(example_graph):
      G = example_graph
      H = nx.parse_edgelist(
          [
              "1 2 {'weight': 3}",
              "2 3 {'weight': 27}",
              "3 4 {'weight': 3.0}",
          ],
          nodetype=int,
      )
      assert nodes_equal(G.nodes, H.nodes)
      assert edges_equal(G.edges(data=True), H.edges(data=True))
  
imports: import io
  import textwrap
  import pytest
  import networkx
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 6 for calling a global function with example usage: test_parse_edgelist_with_data_dict(example_graph) without return types