Don't put things with side effects in `assert`. If people run with `-O` the errors won't be consumed at all and other wise harmless error will break the next attempt to check errors outside of `assert`.