#NEWLINE# def test_instattr_deco( self ) : #NEWLINE# #INDENT# class Cls ( object ) : #NEWLINE# #INDENT# @ runner . Clize #NEWLINE# def method( self ) : #NEWLINE# #INDENT# return 'instattr_deco' #NEWLINE# #UNINDENT# #UNINDENT# inst = Cls ( ) #NEWLINE# ru = inst . method #NEWLINE# self . assertTrue ( isinstance ( ru , runner . Clize ) ) #NEWLINE# self . assertEqual ( ru ( 'test' ) , 'instattr_deco' ) #NEWLINE# self . assertTrue ( ( ru . owner is inst ) ) #NEWLINE# repr ( inst )