[false-positive][PT019] When I have a test with an underscored parameter name, it incorrectly suggests switching to usefixtures
#276
Labels
bug
Something isn't working
Bug report
What's wrong
I get
PT019 fixture _set without value is injected as parameter, use @pytest.mark.usefixtures instead
with
How it should work
PT019 shouldn't be triggered. Replacing
_set
withx_set
works, so the plugin incorrectly assumes that there's no value provided for_set
while it is, and incorrectly suggests using@pytest.mark.usefixtures
, which would make it impossible to provide it with a value.System information
flake8-pytest-style ~= 1.7.2
The text was updated successfully, but these errors were encountered: