#NEWLINE# @ dec . slow #NEWLINE# def test_std_string( self ) : #NEWLINE# #INDENT# a = Foo ( ) #NEWLINE# a . b = 12345 #NEWLINE# attr_name = 'b' #NEWLINE# code = '\n               return_val = a.hasattr(attr_name);\n               ' #NEWLINE# res = inline_tools . inline ( code , [ 'a' , 'attr_name' ] ) #NEWLINE# assert_ ( res )