code: def test_max_pair_distance_infinity():
      """Test that max pair distance pairs are computed properly with infinity distance."""
      from rdkit import Chem
  
      # Test alkane
      mol = Chem.MolFromSmiles("CCC")
      # Test distance infinity
      pair_edges = max_pair_distance_pairs(mol, None)
      # Everything is connected at this distance
      assert pair_edges.shape == (2, 9)
  
      # Test pentane
      mol = Chem.MolFromSmiles("CCCCC")
      # Test distance infinity
      pair_edges = max_pair_distance_pairs(mol, None)
      # Everything is connected at this distance
      assert pair_edges.shape == (2, 25)
  
file_path: deepchem/deepchem/feat/tests/test_weave.py
imports: import numpy
  import deepchem
  from deepchem.feat.graph_features import max_pair_distance_pairs
label_desc: Use image node_id 2 for calling a global function with example usage: test_max_pair_distance_infinity() without return types