#NEWLINE# @ raises ( networkx . NetworkXError ) #NEWLINE# def test_maxiter( self ) : #NEWLINE# #INDENT# alpha = 0.1 #NEWLINE# G = networkx . path_graph ( 3 ) #NEWLINE# b = networkx . katz_centrality ( G , G , max_iter = 0 )