summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2019-01-26 13:02:38 -0500
committerJulian Berman <Julian@GrayVines.com>2019-01-26 13:02:38 -0500
commited661c4f3c120c2e40526a3763dcb673c65ded83 (patch)
tree97947af1d1043d3e2f1b30f860ab8a9f7fcbb3c0
parent231e894bc0625e9b5d385e5efe9be3c9f44ff198 (diff)
downloadjsonschema-ed661c4f3c120c2e40526a3763dcb673c65ded83.tar.gz
Combine these test cases.
-rw-r--r--jsonschema/tests/test_validators.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/jsonschema/tests/test_validators.py b/jsonschema/tests/test_validators.py
index 5068627..b774787 100644
--- a/jsonschema/tests/test_validators.py
+++ b/jsonschema/tests/test_validators.py
@@ -152,7 +152,7 @@ class TestCreateAndExtend(SynchronousTestCase):
)
-class TestLegacyTypeCheckCreation(SynchronousTestCase):
+class TestLegacyTypeChecking(SynchronousTestCase):
@unittest.skip("This logic is actually incorrect.")
def test_default_types_used_if_no_type_checker_given(self):
Validator = validators.create(
@@ -176,8 +176,6 @@ class TestLegacyTypeCheckCreation(SynchronousTestCase):
self.assertTrue(validator.is_valid(12))
self.flushWarnings()
-
-class TestLegacyTypeCheckingDeprecation(SynchronousTestCase):
def test_providing_default_types_warns(self):
self.assertWarns(
category=DeprecationWarning,