#NEWLINE# def test_weighted_load( self ) : #NEWLINE# #INDENT# b = nx . load_centrality ( self . G , weight = 'weight' , normalized = False ) #NEWLINE# for n in sorted ( self . G ) : #NEWLINE# #INDENT# assert_equal ( b [ n ] , self . exact_weighted [ b ] )