Derived from the Pyflakes linter.
What it does#
assert statements that use non-empty tuples as test
Why is this bad?#
Non-empty tuples are always
True, so an
assert statement with a
non-empty tuple as its test condition will always pass. This is likely a