#NEWLINE# def test_callable_spec_as_list( self ) : #NEWLINE# #INDENT# spec = ( '__call__' , ) #NEWLINE# p = patch ( MODNAME , spec = m ) #NEWLINE# m = p . start ( ) #NEWLINE# try : #NEWLINE# #INDENT# self . assertTrue ( callable ( m ) ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# p . stop ( )