code: def test_parse_pajet_mat(self):
      data = """*Vertices 3\n1 "one"\n2 "two"\n3 "three"\n*Matrix\n1 1 0\n0 1 0\n0 1 0\n"""
      G = nx.parse_pajek(data)
      assert set(G.nodes()) == {"one", "two", "three"}
      assert G.nodes["two"] == {"id": "2"}
      assert edges_equal(
          set(G.edges()),
          {
              ("one", "one"),
              ("two", "one"),
              ("two", "two"),
              ("two", "three"),
          },
      )
  
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 4 for calling the TestPajek obj's underlying member method code with example usage: obj.test_parse_pajet_mat() without return types