Don't generate .pyc files when running tests
Merge pull request #2214 from mdboom/misc/dont-write-pyc

Don't generate .pyc files when running tests