Warn when asserting None
#336
Labels
bb: minor
Minor issue according to bug bounty categorization
bug bounty
This issue is prized out as part of the Bug Bounty Program
enhancement
New feature or request
This pattern is likely to stem from a procedure already doing internal assertions and returning None (to indicate no failure, otherwise would err). Asserting this is equivalent to asserting False, which always fails (likely unintended).
The text was updated successfully, but these errors were encountered: