def assert_value(self, node, value, expected_value):
        if isinstance(expected_value, list) or \
           isinstance(expected_value, tuple):
            assert value in expected_value, self.TranslationError(
                "one of %r expected, got '%s'" % (expected_value, value),
                self.get_lineno(node),
            )
        else:
            assert value == expected_value, self.TranslationError(
                (expected_value, value) % "%r expected, got '%s'",
                self.get_lineno(node),
            )
dataset/ETHPy150Open anandology/pyjamas/pyjs/src/pyjs/translator_dict.py/Translator.assert_value/swapped operands of `%`