Modifying assertIs(x, False)
to assertFalse(x)
changes the meaning for falsey value of x
#17
Labels
bug
Something isn't working
Hello, and thank you for your work on teyit.
In the following case:
If inferred.value is equal to
[]
or{}
for example, the code does not do what it was doing before. (The same problem also apply toassertIs(x, True)
toassertTrue(x)
Context: Trying to add teyit to astroid pre-commit in pylint-dev/astroid#1703
The text was updated successfully, but these errors were encountered: