-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
validate arguments of parametrize mark #3645
Comments
GitMate.io thinks possibly related issues are #2383 (AssertionError with wrong number of parametrize arguments), #1111 (pytest.mark.parametrize fails with lambdas), #213 (Issue with numpy arrays and pytest.mark.parametrize), #518 (parametrize: allow ellipsis to avoid repeating argument list?), and #2176 (parametrize ignores marks if parameters are symbols). |
#3674 suggests that this check should be implemented as the test failing, rather than an error at collection time. |
followup to #3644
the error messages in minor mistakes are quite a pain and at a distance, we could do much better there by invoking a function that has the expected signature and/or checking the arguments against a signature
The text was updated successfully, but these errors were encountered: