def assert_type(self, node, type_, expected_type):
        type_ = type_repr(type_)
        assert type_ == expected_type, self.TranslationError(
            (expected_type, type_) % "'%s' expected, got '%s'",
            self.get_lineno(node),
        )
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_dict.py/Translator.assert_type/swapped operands of `%`