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
mark: fix pylint not-callable error on pytest.mark.parametrize(...), again #7565
Conversation
…again Apparently the previous fix c1ca42b didn't work. Hopefully this time I'm testing this correctly.
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.
Works for me after a pip install -e git+https://github.com/bluetech/pytest@pylint-callable-2#egg=pytest
FWIW!
Thanks for checking @The-Compiler. I'm more confident this one does the trick, so I'm merging and will do a backport. |
mark: fix pylint not-callable error on pytest.mark.parametrize(...), again (cherry picked from commit f9837f9)
parametrize = _ParametrizeMarkDecorator(Mark("parametrize ", (), {})) | ||
usefixtures = _UsefixturesMarkDecorator(Mark("usefixtures ", (), {})) | ||
filterwarnings = _FilterwarningsMarkDecorator(Mark("filterwarnings ", (), {})) |
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.
is there a reason these have an extra space? and skip/skipif/xfail do not?
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.
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.
Oops, just a bad vim macro...
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.
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.
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.
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.
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.
Fixes #7558, Refs #7473. Previous attempt: #7476.
Apparently the previous fix c1ca42b didn't work. Hopefully this time I'm testing this correctly.