Fix pyflakes complaints on whitespace, mark test as knownfailureif python 3 (relates to open numpy issue)