code: def test_astar_cutoff(self):
      with pytest.raises(nx.NetworkXNoPath):
          # optimal path_length in XG is 9
          nx.astar_path(self.XG, "s", "v", cutoff=8.0)
      with pytest.raises(nx.NetworkXNoPath):
          nx.astar_path_length(self.XG, "s", "v", cutoff=8.0)
  
imports: import pytest
  import networkx
  from networkx.utils import pairwise
label_desc: Use image node_id 14 for calling the TestAStar obj's underlying member method code with example usage: obj.test_astar_cutoff() without return types