def run(self, **kwargs): __tracebackhide__ = True history = History() ctx, ns, lines, bind = make_context(self.methods[0][1], kwargs, history) run_protocol = make_run_protocol(self.failures, self.cls_name, self.name) runner = Run(run_protocol) return self.executor(runner, ctx, ns, bind, history, self.methods)
def __call__(self, **kwargs): __tracebackhide__ = True history = History() ctx, ns, lines, bind = make_context(self.methods[0][1], kwargs, history) runner = Call() return self.executor(runner, ctx, ns, bind, history, self.methods)
def __call__(self, **kwargs): __tracebackhide__ = True history = History() ctx = make_context(self.methods[0][1], kwargs, history) runner = Call() return function.execute(runner, ctx, history, self.methods)