diff options
Diffstat (limited to 'jsonschema/_validators.py')
-rw-r--r-- | jsonschema/_validators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jsonschema/_validators.py b/jsonschema/_validators.py index bfcd1c1..c8cf05c 100644 --- a/jsonschema/_validators.py +++ b/jsonschema/_validators.py @@ -215,7 +215,7 @@ def type_draft3(validator, types, instance, schema): if not errors: return all_errors.extend(errors) - elif validator.is_type(type, "string"): + else: if validator.is_type(instance, type): return else: |