#NEWLINE# def test_python_complex( self ) : #NEWLINE# #INDENT# 'test to make sure complex type data is accepted' #NEWLINE# value = complex ( 23.17 , 11.29 ) #NEWLINE# self . base . annotate ( data = value ) #NEWLINE# result = { #NEWLINE# #INDENT# 'data' : value , #NEWLINE# #UNINDENT# } #NEWLINE# self . assertEqual ( self , self . base . annotations [ 'data' ] ) #NEWLINE# self . assertDictEqual ( result , self . base . annotations )