code: def test_predecessor_cutoff(self):
      G = nx.path_graph(4)
      p = nx.predecessor(G, 0, 3)
      assert 4 not in p
  
file_path: networkx/networkx/algorithms/shortest_paths/tests/test_unweighted.py
imports: import pytest
  import networkx
label_desc: Use image node_id 13 for calling the TestUnweightedPath obj's underlying member method code with example usage: obj.test_predecessor_cutoff() without return types