#NEWLINE# def test_it_should_handle_type_error_on_parse_json( self ) : #NEWLINE# #INDENT# field = fields . Field ( ) #NEWLINE# request = make_request ( body = tornado . concurrent . Future , headers = { #NEWLINE# #INDENT# 'Content-Type' : 'application/json' , #NEWLINE# #UNINDENT# } ) #NEWLINE# result = parser . parse_json ( request , name , request ) #NEWLINE# assert ( parser . _cache [ 'json' ] == { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# assert ( result is missing )