rm unnecessary `pass` flagged by pylint
Merge pull request #4821 from cvrebert/patch-3

rm unnecessary `pass` flagged by pylint