-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Deprecate funcargnames alias for fixturenames #5476
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
Conversation
Codecov Report
@@ Coverage Diff @@
## features #5476 +/- ##
============================================
- Coverage 83.14% 82.93% -0.21%
============================================
Files 114 114
Lines 25528 25532 +4
Branches 2482 2482
============================================
- Hits 21224 21176 -48
- Misses 3915 3948 +33
- Partials 389 408 +19
Continue to review full report at Codecov.
|
d6258f9 to
d4b9e5f
Compare
nicoddemus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just missing the CHANGELOG.
Please also update deprecations.rst with a new section. 👍
1bf136d to
138cdcf
Compare
nicoddemus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks!
|
|
||
| .. deprecated:: 5.0 | ||
|
|
||
| The ``FixtureRequest``, ``Metafunc``, and ``Function`` classes track the names of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great explanation! 👍
|
OK! I'm going to close this, and re-target it against |
But leave the helper until 5.1, so that the error message can be helpful and suggest using the modern form. Closes #4676.
I've gone with a hardAttributeErrorover a warning because it's a trivial and far-back-compatible thing to fix, and it would be really nice to delete theFuncargnamesCompatAttrclass in 5.1.