Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

varargs handling doesn't work with methods #118

Closed
jerith opened this issue Aug 4, 2015 · 0 comments
Closed

varargs handling doesn't work with methods #118

jerith opened this issue Aug 4, 2015 · 0 comments

Comments

@jerith
Copy link
Contributor

jerith commented Aug 4, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant