Skip to content

Commit 8a5d0dc

Browse files
manycodingJulian
authored andcommitted
Update test_it_validates_formats_by_default
1 parent e4340dd commit 8a5d0dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema/tests/test_validators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,9 +991,9 @@ def test_it_returns_true_for_formats_it_does_not_know_about(self):
991991
)
992992
validator.validate("bugs")
993993

994-
def test_it_does_not_validate_formats_by_default(self):
994+
def test_it_validates_formats_by_default(self):
995995
validator = self.Validator({})
996-
self.assertIsNone(validator.format_checker)
996+
self.assertIsInstance(validator.format_checker, FormatChecker())
997997

998998
def test_it_validates_formats_if_a_checker_is_provided(self):
999999
checker = FormatChecker()

0 commit comments

Comments
 (0)