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