You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(evaluators): IsEmpty and IsNotEmpty on 0, False and whitespace #407
IsEmpty treats only None, "", [] and {} as empty, so 0 and False count as "not empty". That behavior is intended, but no test pins it, and " " (whitespace) is untested too.
What to change
Add 0, False, " " and {"a": None} to the parametrized cases in tests/core/evaluators/test_is_empty.py and test_is_not_empty.py.
Done when
Both files include those inputs with the expected verdicts.
Comment to claim this issue and wait to be assigned. Unclaimed or inactive for 3 days, it returns to the pool. Run pytest tests/ and black --line-length 120 before opening the PR.
Activity
AK-Lmn commentedon Oct 16, 2026
Hi @refeed, please assign this issue to me. I have submitted PR #409 with the test coverage and all CI checks are passing.
test(evaluators): cover IsEmpty and IsNotEmpty on 0, False and whites…