code: def test_not_connected(self):
      G = nx.cycle_graph(4)
      nx.add_cycle(G, [5, 6, 7])
      assert not nx.is_distance_regular(G)
  
file_path: networkx/networkx/algorithms/tests/test_distance_regular.py
imports: import pytest
  import networkx
  from networkx import is_strongly_regular
label_desc: Use image node_id 2 for calling the TestDistanceRegular obj's underlying member method code with example usage: obj.test_not_connected() without return types