-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add alias for parametrize or provide better error reporting #463
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
Comments
Original comment by Brianna Laugher (BitBucket: pfctdayelise, GitHub: pfctdayelise): It is quite a confusing message. Another option might be at least adding a warning for common misspellings. I will note that in the meantime, you can sidestep the issue by adding this to your conftest.py:
|
Original comment by Brianna Laugher (BitBucket: pfctdayelise, GitHub: pfctdayelise): Issue #695 was marked as a duplicate of this issue. |
Original comment by Brianna Laugher (BitBucket: pfctdayelise, GitHub: pfctdayelise): Well the release was made today so this would seem to be fixed :) |
And here I thought I was going insane. Thanks for the fix. |
Originally reported by: Nenad Ognjanovic (BitBucket: bgr_, GitHub: bgr_)
Consider adding an alias parameterize for parametrize, since it's a valid spelling but using it in pytest will give a misleading error message - for the code below error message will say "fixture 'arg' not found", not mentioning that parameterize doesn't exist.
The text was updated successfully, but these errors were encountered: