code: def test_cycle_numpy():
      dist = nx.floyd_warshall_numpy(nx.cycle_graph(7))
      assert dist[0, 3] == 3
      assert dist[0, 4] == 3
  
file_path: networkx/networkx/algorithms/shortest_paths/tests/test_dense_numpy.py
imports: import pytest
  import networkx
label_desc: Use image node_id 1 for calling a global function with example usage: test_cycle_numpy() without return types