Skip to content

Commit ed661c4

Browse files
committed
Combine these test cases.
1 parent 231e894 commit ed661c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

jsonschema/tests/test_validators.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def test_extend(self):
152152
)
153153

154154

155-
class TestLegacyTypeCheckCreation(SynchronousTestCase):
155+
class TestLegacyTypeChecking(SynchronousTestCase):
156156
@unittest.skip("This logic is actually incorrect.")
157157
def test_default_types_used_if_no_type_checker_given(self):
158158
Validator = validators.create(
@@ -176,8 +176,6 @@ def test_types_redefines_the_validators_type_checker(self):
176176
self.assertTrue(validator.is_valid(12))
177177
self.flushWarnings()
178178

179-
180-
class TestLegacyTypeCheckingDeprecation(SynchronousTestCase):
181179
def test_providing_default_types_warns(self):
182180
self.assertWarns(
183181
category=DeprecationWarning,

0 commit comments

Comments
 (0)