code: def test_parse_pajek(self):
      G = nx.parse_pajek(self.data)
      assert sorted(G.nodes()) == ["A1", "Bb", "C", "D2"]
      assert edges_equal(
          G.edges(),
          [
              ("A1", "A1"),
              ("A1", "Bb"),
              ("A1", "C"),
              ("Bb", "A1"),
              ("C", "C"),
              ("C", "D2"),
              ("D2", "Bb"),
          ],
      )
  
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 3 for calling the TestPajek obj's underlying member method code with example usage: obj.test_parse_pajek() without return types