code: def test_wrong_size_prev_cc_raises(self):
      with pytest.raises(nx.NetworkXError):
          G = self.undirected_G.copy()
          edge = self.pick_add_edge(G)
          insert = True
          prev_cc = self.undirected_G_cc.copy()
          prev_cc.pop(0)
          nx.incremental_closeness_centrality(G, edge, prev_cc, insert)
  
file_path: networkx/networkx/algorithms/centrality/tests/test_closeness_centrality.py
imports: import pytest
  import networkx
label_desc: Use image node_id 13 for calling the TestClosenessCentrality obj's underlying member method code with example usage: obj.test_wrong_size_prev_cc_raises() without return types