First, thank you for reporting the false positive.
We already noticed it and fixed it in this ticket. I see you’re using SonarLint in PyCharm. As far as I know, the latest version doesn’t embed the fix, but the next one that should be released in the next few weeks will.
Great! Thanks for the response! But after acquaintance with this issue on Jira I’ve noticed that second problem(autoused fixture) is not covered. Will this fix cover that too?