Don't put things with side effects in assert statements