def _encode(self, value):
        length = len(value)
        if self.getSize() is not None:
            if length != self.getSize():
                raise ValueError((value, length, self.getSize()) % "Value (%s) size %d does not match expected %d")

        return value
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/smpp/pdu/pdu_encoding.py/OctetStringEncoder._encode/swapped operands of `%`