Skip to content

Commit

Permalink
Reword schema error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Mar 5, 2018
1 parent 37b67a3 commit 3ca57eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion altair/utils/schemapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def __unicode__(self):
'patternProperties'))
return """Invalid specification
validator {1!r} in {0}
{0}, validating {1!r}
{2}
""".format(schema_path, self.validator, self.message)
Expand Down
2 changes: 1 addition & 1 deletion tools/schemapi/schemapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __unicode__(self):
'patternProperties'))
return """Invalid specification
validator {1!r} in {0}
{0}, validating {1!r}
{2}
""".format(schema_path, self.validator, self.message)
Expand Down

0 comments on commit 3ca57eb

Please sign in to comment.