def METHOD_NAME(self):
    import io
    G = nx.parse_pajek(self.data)
    fh = io.BytesIO()
    nx.write_pajek(G, fh)
    fh.seek(0)
    H = nx.read_pajek(fh)
    assert nodes_equal(list(G), list(H))
    assert edges_equal(list(G.edges()), list(H.edges()))
    # Graph name is left out for now, therefore it is not tested.
    # assert_equal(G.graph, H.graph)