#NEWLINE# def test_list_decode_double_dash( self ) : #NEWLINE# #INDENT# src = { #NEWLINE# #INDENT# 'a-0' : 'a' , #NEWLINE# 'a-1-2' : 'b' , #NEWLINE# 'a-3' : 'c' , #NEWLINE# #UNINDENT# } #NEWLINE# expect = { #NEWLINE# #INDENT# 'a' : [ 'a' , 'c' ] , #NEWLINE# 'a-1-2' : 'b' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( expect , variable_decode ( self ) )