#NEWLINE# def test_unweighted_digraph( self ) : #NEWLINE# #INDENT# G = nx . DiGraph ( nx . cycle_graph ( 3 ) ) #NEWLINE# vitality = nx . closeness_vitality ( G ) #NEWLINE# assert_equal ( G , { #NEWLINE# #INDENT# 0 : 4 , #NEWLINE# 1 : 4 , #NEWLINE# 2 : 4 , #NEWLINE# #UNINDENT# } )