def _capture(self, args, kwargs):
        '''Store the input to the captured function'''
        self.called = self.called + 1
        self.method_args.append(args)
        self.named_method_args.append(kwargs)
        self.never_called = False
def _capture ( self , args , kwargs ) : self . called = self . called + 1 self . method_args . append ( args ) self . named_method_args . append ( kwargs ) self . never_called = False
Store the input to the captured function