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