code: def test_parse_pajek_simple(self):
      # Example without node positions or shape
      data = """*Vertices 2\n1 "1"\n2 "2"\n*Edges\n1 2\n2 1"""
      G = nx.parse_pajek(data)
      assert sorted(G.nodes()) == ["1", "2"]
      assert edges_equal(G.edges(), [("1", "2"), ("1", "2")])
  
file_path: networkx/networkx/readwrite/tests/test_pajek.py
imports: import networkx
  from networkx.utils import edges_equal, nodes_equal
label_desc: Use image node_id 2 for calling the TestPajek obj's underlying member method code with example usage: obj.test_parse_pajek_simple() without return types