def _encodeSchemeDataAsInt(self, dataCoding):
        # Jasmin update:
        # Related to #182
        # When pdu is unpickled (from smpps or http api), the comparison below will always
        # be False since memory addresses of both objects are different.
        # Using str() will get the comparison on the 'GSM_MESSAGE_CLASS' string value
        if str(dataCoding.scheme) == str(pdu_types.DataCodingScheme.GSM_MESSAGE_CLASS):
            return self._encodeGsmMsgSchemeDataAsInt(dataCoding)
        # Jasmin update:
        # As reported in https://github.com/mozes/smpp.pdu/issues/12
        # raise ValueError("Unknown data coding scheme %s" % dataCoding.scheme)
        #                                                    ~~~~~~~~~~~
        raise ValueError(dataCoding.scheme % "Unknown data coding scheme %s")
dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/smpp/pdu/pdu_encoding.py/DataCodingEncoder._encodeSchemeDataAsInt/swapped operands of `%`