We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from unittest.mock import patch @patch("time.sleep") def test_foo(_) -> None: _ = 0
Running flake8-pytest-style==1.6.0 on this, it reports:
flake8-pytest-style==1.6.0
a.py:5:1: PT019 fixture _ without value is injected as parameter, use @pytest.mark.usefixtures instead
I think this should not be getting PT019, as I:
PT019
MagicMock
_
The text was updated successfully, but these errors were encountered:
Actually, I believe this is a dup of #202, so if you want to close this as a duplicate, feel free.
Sorry, something went wrong.
Yes, this is a dup of #202
No branches or pull requests
Bug report
What's wrong
Running
flake8-pytest-style==1.6.0
on this, it reports:How it should work
I think this should not be getting
PT019
, as I:MagicMock
_
_
declared in the moduleSystem information
The text was updated successfully, but these errors were encountered: