source/characteristic:

Minor pep8 fix.
tests/sources/characteristic_test:

Minor pep8 fix.