def test_iter_errors(self):
        instance = [1, 2]
        schema = {
            u"disallow" : u"array",
            u"enum" : [["a", "b", "c"], ["d", "e", "f"]],
            u"minItems" : 3
        }

        got = (e.message for e in self.validator.iter_errors(instance, schema))
        expected = [
            (schema["disallow"],) % "%r is disallowed for [1, 2]",
            "[1, 2] is too short",
            "[1, 2] is not one of %r" % (schema["enum"],),
        ]
        self.assertEqual(sorted(got), sorted(expected))
dataset/ETHPy150Open Julian/jsonschema/jsonschema/tests/test_validators.py/TestIterErrors.test_iter_errors/swapped operands of `%`