#NEWLINE# def test_instattr_deco_selfget( self ) : #NEWLINE# #INDENT# class SelfGet ( object ) : #NEWLINE# #INDENT# __name__ = 'SelfGet' #NEWLINE# def __get__( self , instance , owner ) : #NEWLINE# #INDENT# return self #NEWLINE# #UNINDENT# #UNINDENT# class Cls ( object ) : #NEWLINE# #INDENT# method = runner . Clize ( SelfGet ( ) ) #NEWLINE# #UNINDENT# inst = Cls ( ) #NEWLINE# ru = inst . method #NEWLINE# self . assertTrue ( ( Cls . __dict__ [ 'method' ] is ru ) )