mark: fix pylint not-callable error on pytest.mark.parametrize(...), again#7565
Merged
Merged
Conversation
…again Apparently the previous fix c1ca42b didn't work. Hopefully this time I'm testing this correctly.
The-Compiler
approved these changes
Jul 29, 2020
Member
The-Compiler
left a comment
There was a problem hiding this comment.
Works for me after a pip install -e git+https://github.com/bluetech/pytest@pylint-callable-2#egg=pytest FWIW!
Member
Author
|
Thanks for checking @The-Compiler. I'm more confident this one does the trick, so I'm merging and will do a backport. |
bluetech
added a commit
to bluetech/pytest
that referenced
this pull request
Jul 29, 2020
mark: fix pylint not-callable error on pytest.mark.parametrize(...), again (cherry picked from commit f9837f9)
graingert
reviewed
Jul 29, 2020
Comment on lines
+479
to
+481
| parametrize = _ParametrizeMarkDecorator(Mark("parametrize ", (), {})) | ||
| usefixtures = _UsefixturesMarkDecorator(Mark("usefixtures ", (), {})) | ||
| filterwarnings = _FilterwarningsMarkDecorator(Mark("filterwarnings ", (), {})) |
Member
There was a problem hiding this comment.
is there a reason these have an extra space? and skip/skipif/xfail do not?
Member
Author
There was a problem hiding this comment.
Oops, just a bad vim macro...
This was referenced Jul 29, 2020
This was referenced Jul 30, 2020
Merged
Merged
Merged
Merged
lars-petter-hauge
added a commit
to lars-petter-hauge/semeio
that referenced
this pull request
Jul 30, 2020
The pylint not-callable error on pytest.mark.parametrize(...) error is a recurring issue for pytest, but should be fixed now: pytest-dev/pytest#7565 Did not make it in the 6.0.0 release, pin for now.
lars-petter-hauge
added a commit
to lars-petter-hauge/semeio
that referenced
this pull request
Jul 30, 2020
The pylint not-callable error on pytest.mark.parametrize(...) error is a recurring issue for pytest, but should be fixed now: pytest-dev/pytest#7565 Did not make it in the 6.0.0 release, pin for now.
lars-petter-hauge
added a commit
to lars-petter-hauge/semeio
that referenced
this pull request
Jul 30, 2020
The pylint not-callable error on pytest.mark.parametrize(...) error is a recurring issue for pytest, but should be fixed now: pytest-dev/pytest#7565 Did not make it in the 6.0.0 release, pin for now.
lars-petter-hauge
added a commit
to lars-petter-hauge/semeio
that referenced
this pull request
Jul 30, 2020
The pylint not-callable error on pytest.mark.parametrize(...) error is a recurring issue for pytest, but should be fixed now: pytest-dev/pytest#7565 Did not make it in the 6.0.0 release, pin for now.
lars-petter-hauge
added a commit
to equinor/semeio
that referenced
this pull request
Jul 30, 2020
The pylint not-callable error on pytest.mark.parametrize(...) error is a recurring issue for pytest, but should be fixed now: pytest-dev/pytest#7565 Did not make it in the 6.0.0 release, pin for now.
CZNIC-GitLab
pushed a commit
to CZ-NIC/knot-resolver
that referenced
this pull request
Aug 3, 2020
dafeda
pushed a commit
to equinor/semeio
that referenced
this pull request
Nov 27, 2024
The pylint not-callable error on pytest.mark.parametrize(...) error is a recurring issue for pytest, but should be fixed now: pytest-dev/pytest#7565 Did not make it in the 6.0.0 release, pin for now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #7558, Refs #7473. Previous attempt: #7476.
Apparently the previous fix c1ca42b didn't work. Hopefully this time I'm testing this correctly.