#NEWLINE# def test_attribute_mixing_dict_multigraph( self ) : #NEWLINE# #INDENT# d = nx . attribute_mixing_dict ( self . M , 'fish' ) #NEWLINE# d_result = { #NEWLINE# #INDENT# 'one' : { #NEWLINE# #INDENT# 'one' : 4 , #NEWLINE# #UNINDENT# } , #NEWLINE# 'two' : { #NEWLINE# #INDENT# 'two' : 2 , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } #NEWLINE# assert_equal ( d , d_result )