(*args, **kwargs)
| 320 | # an exception if one of the kwargs to testfunction was called `func`. |
| 321 | @functools.wraps(testfunction) |
| 322 | def wrapper(*args, **kwargs): |
| 323 | func = functools.partial(testfunction, *args, **kwargs) |
| 324 | _pdb.runcall(func) |
| 325 | |
| 326 | pyfuncitem.obj = wrapper |
| 327 |