def test_additionalProperties_single_failure(self):
        additional = "foo"
        schema = {u"additionalProperties" : False}
        message = self.message_for({additional : 2}, schema)
        self.assertIn("(%r was unexpected)" % (additional,), message)
dataset/ETHPy150Open Julian/jsonschema/jsonschema/tests/test_validators.py/TestValidationErrorMessages.test_additionalProperties_single_failure/original