#NEWLINE# def test_specs_false_instead_of_none( self ) : #NEWLINE# #INDENT# p = patch ( MODNAME , spec = False , spec_set = False , autospec = False ) #NEWLINE# mock = p . start ( ) #NEWLINE# try : #NEWLINE# #INDENT# self . does_not_exist #NEWLINE# mock . does_not_exist = 3 #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# p . stop ( )