Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Silence deprecation warning when testing element's truth value
This fixes the following deprecation warning, new as of Python 3.12: DeprecationWarning: Testing an element's truth value will always return True in future versions. We do want the future behavior here, but since we can't opt into it cleanly just test vs None explicitly.
- Loading branch information