#NEWLINE# def test_incall( self ) : #NEWLINE# #INDENT# self . tracer . watch ( 'testmod.a' ) #NEWLINE# with test . tm : #NEWLINE# #INDENT# self . assertFalse ( self . tracer . incall ) #NEWLINE# def test( ) : #NEWLINE# #INDENT# self . assertTrue ( self . tracer . incall ) #NEWLINE# #UNINDENT# with mock . patch ( 'testmod.b' , test ) : #NEWLINE# #INDENT# testmod . a ( )