Skip to content

Commit b7289fe

Browse files
author
AndrewSC
committed
fixing message
1 parent 04239db commit b7289fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonschema/_validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def maxProperties_draft4(validator, mP, instance, schema):
306306
if not validator.is_type(instance, "object"):
307307
return
308308
if validator.is_type(instance, "object") and len(instance) > mP:
309-
yield ValidationError("%r is too short" % (instance,))
309+
yield ValidationError("%r is too long" % (instance,))
310310

311311

312312
def allOf_draft4(validator, allOf, instance, schema):

0 commit comments

Comments
 (0)