remove trailing whitespace
Merge pull request #5397 from esc/fix/trailing_whitespace

MAINT: remove trailing whitespace