code: def test_parse_adjlist(self):
      lines = ["1 2 5", "2 3 4", "3 5", "4", "5"]
      nx.parse_adjlist(lines, nodetype=int)  # smoke test
      with pytest.raises(TypeError):
          nx.parse_adjlist(lines, nodetype="int")
      lines = ["1 2 5", "2 b", "c"]
      with pytest.raises(TypeError):
          nx.parse_adjlist(lines, nodetype=int)
  
imports: import io
  import pytest
  import networkx
  from networkx.utils import edges_equal, graphs_equal, nodes_equal
label_desc: Use image node_id 6 for calling the TestAdjlist obj's underlying member method code with example usage: obj.test_parse_adjlist() without return types