TST : make 3.2 pass again

1) fixed pep8 in test_legend
2) knownfailed the animationsmoketests on 3.2