made test_format.py un-executable, so that nosetests runs it.

 Also fixed pep8 issues that this uncovered.
Ok, I've removed the skip_if_no_XXXX() calls. But note that I only added them in the previous commit (4a13f3e). Travis was failing before that.