7bda021
Fix boolean comparisons in asserts (#infra) These were previously changed in bulk after switch to pytest. (cherry picked from commit a6cfb290a4f50ff17d097ca7eabc752d7247c70c)