code: def test_hits_not_convergent(self):
      G = nx.path_graph(50)
      with pytest.raises(nx.PowerIterationFailedConvergence):
          _hits_scipy(G, max_iter=1)
      with pytest.raises(nx.PowerIterationFailedConvergence):
          _hits_python(G, max_iter=1)
      with pytest.raises(nx.PowerIterationFailedConvergence):
          _hits_scipy(G, max_iter=0)
      with pytest.raises(nx.PowerIterationFailedConvergence):
          _hits_python(G, max_iter=0)
      with pytest.raises(nx.PowerIterationFailedConvergence):
          nx.hits(G, max_iter=0)
      with pytest.raises(nx.PowerIterationFailedConvergence):
          nx.hits(G, max_iter=1)
  
file_path: networkx/networkx/algorithms/link_analysis/tests/test_hits.py
imports: import pytest
  import networkx
  from networkx.algorithms.link_analysis.hits_alg import _hits_numpy, _hits_python, _hits_scipy
label_desc: Use image node_id 5 for calling the TestHITS obj's underlying member method code with example usage: obj.test_hits_not_convergent() without return types