Fix import + pep8

These commits are aimed to reduce travis' log length

* fix import like from numpy.testing import *
* 2 commits for pep8 (space after comma) to remove hundreds of lines in travis.