code: def test_pyramid(self):
      N = 10
      # N = 100 # this gives a graph with 5051 nodes
      G = gen_pyramid(N)
      R = build_residual_network(G, "capacity")
      kwargs = {"residual": R}
  
      for flow_func in flow_funcs:
          kwargs["flow_func"] = flow_func
          errmsg = f"Assertion failed in function: {flow_func.__name__}"
          flow_value = nx.maximum_flow_value(G, (0, 0), "t", **kwargs)
          assert flow_value == pytest.approx(1.0, abs=1e-7)
  
file_path: networkx/networkx/algorithms/flow/tests/test_maxflow_large_graph.py
imports: import bz2
  import importlib.resources
  import os
  import pickle
  import pytest
  import networkx
  from networkx.algorithms.flow import boykov_kolmogorov, build_flow_dict, build_residual_network, dinitz, edmonds_karp, preflow_push, shortest_augmenting_path
label_desc: Use image node_id 2 for calling the TestMaxflowLargeGraph obj's underlying member method code with example usage: obj.test_pyramid() without return types