Fix inconsistent-return-statements pylint error
Fix inconsistent-return-statements pylint error

pylint 1.8.1 complains about pytest_pylint.py:
R:116, 0: Either all return statements in a function should return an
expression, or none of them should. (inconsistent-return-statements)

Bug-Debian: https://bugs.debian.org/887573

carsongee/pytest-pylint