#NEWLINE# def test_properties_1( self ) : #NEWLINE# #INDENT# class C_with_properties_1 ( ) : #NEWLINE# #INDENT# def __init__( self , m ) : #NEWLINE# #INDENT# self . m = m #NEWLINE# #UNINDENT# def f( self , x ) : #NEWLINE# #INDENT# return ( self . m + x ) #NEWLINE# #UNINDENT# @ property #NEWLINE# def prop( self ) : #NEWLINE# #INDENT# return self . f ( self . m ) #NEWLINE# #UNINDENT# #UNINDENT# def f( ) : #NEWLINE# #INDENT# return C_with_properties_1 ( 42 ) . prop #NEWLINE# #UNINDENT# self . equivalentEvaluationTest ( f )