code: def test_all_pairs_connectivity_directed(self):
      G = nx.DiGraph()
      nodes = [0, 1, 2, 3]
      nx.add_path(G, nodes)
      A = {n: {} for n in G}
      for u, v in itertools.permutations(nodes, 2):
          A[u][v] = nx.node_connectivity(G, u, v)
      C = nx.all_pairs_node_connectivity(G)
      assert sorted((k, sorted(v)) for k, v in A.items()) == sorted(
          (k, sorted(v)) for k, v in C.items()
      )
  
imports: import itertools
  import pytest
  import networkx
  from networkx.algorithms import flow
  from networkx.algorithms.connectivity import local_edge_connectivity, local_node_connectivity
label_desc: Use image node_id 8 for calling the TestAllPairsNodeConnectivity obj's underlying member method code with example usage: obj.test_all_pairs_connectivity_directed() without return types