Don't put things with side effects in assert statements
Merge pull request #803 from alex/style

Don't put things with side effects in assert statements