Skip to content

Commit

Permalink
Whoops, this is Draft6 only.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed May 14, 2018
1 parent e03ed34 commit 030fdd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jsonschema/_format.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def is_uri(instance):
return True
return rfc3987.parse(instance, rule="URI")

@_checks_drafts(name="uri-reference", raises=ValueError)
@_checks_drafts(draft6="uri-reference", raises=ValueError)
def is_uri_reference(instance):
if not isinstance(instance, str_types):
return True
Expand Down

0 comments on commit 030fdd1

Please sign in to comment.