fix flake8 errors on python 3.4 + skip some useless memory leak tests on linux