False positive no-member after assert isinstance
#4693
Labels
Control flow
Requires control flow understanding
False Positive 🦟
A message is emitted but nothing is wrong with the code
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Steps to reproduce
In https://github.com/PlaidWeb/Authl/blob/dc53e065e7cfe5e21bcfb169aea4588293531da8/tests/handlers/test_fediverse.py#L89:
Current behavior
Expected behavior
In this particular test,
result
can never bedisposition.Error
and there's even a previous assertion to ensure that it'sdisposition.Verified
which does have the'profile'
member. I assume that there's some erroneous caching ofresult
's type from another test.pylint --version output
Result of
pylint --version
output:The text was updated successfully, but these errors were encountered: