Pylint fix.
Merge pull request #8530 from cro/fix_freebsd_failing_test

Pylint fix.