COSMIT pep8 fixes
TST ignore sequence of sequences DeprecationWarnings
Merge pull request #3406 from jnothman/minor

[MRG] Cosmetic improvements to test_metrics