TST : make 3.2 pass again

1) fixed pep8 in test_legend
2) knownfailed the animationsmoketests on 3.2
Merge pull request #2838 from tacaswell/fix32

TST : make 3.2 pass again