#NEWLINE# @ dec . slow #NEWLINE# def test_hash( self ) : #NEWLINE# #INDENT# class Foo ( ) : #NEWLINE# #INDENT# def __hash__( self ) : #NEWLINE# #INDENT# return 123 #NEWLINE# #UNINDENT# #UNINDENT# a = Foo ( ) #NEWLINE# res = inline_tools . inline ( 'return_val = a.hash(); ' , [ 'a' ] ) #NEWLINE# debug_print ( 'hash:' , res ) #NEWLINE# assert_equal ( self , 123 )