Fix flake errors

Hi. This pull request fixes the flake errors reported in the Travis Tox test (leading space in comments, line length, 'x not in y') so that the build passes.

I don't know how build 10 passed on Travis (different version of something perhaps), but you can see the errors in build 12 for pull request #10.