You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned on #113, the new varargs handling doesn't work with methods.
This is because all keyword arguments to given are converted into positional arguments in the wrapped tests and these catch any non-generated positional arguments (such a self for a method) instead of leaving them in varargs.
The fix is probably to handle extra_kwargs (keyword arguments to given that don't match named args in the argspec) differently.
The text was updated successfully, but these errors were encountered:
As mentioned on #113, the new varargs handling doesn't work with methods.
This is because all keyword arguments to
given
are converted into positional arguments in the wrapped tests and these catch any non-generated positional arguments (such aself
for a method) instead of leaving them in varargs.The fix is probably to handle
extra_kwargs
(keyword arguments togiven
that don't match named args in the argspec) differently.The text was updated successfully, but these errors were encountered: