diff options
author | Julian Berman <Julian@GrayVines.com> | 2019-01-26 13:02:38 -0500 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2019-01-26 13:02:38 -0500 |
commit | ed661c4f3c120c2e40526a3763dcb673c65ded83 (patch) | |
tree | 97947af1d1043d3e2f1b30f860ab8a9f7fcbb3c0 | |
parent | 231e894bc0625e9b5d385e5efe9be3c9f44ff198 (diff) | |
download | jsonschema-ed661c4f3c120c2e40526a3763dcb673c65ded83.tar.gz |
Combine these test cases.
-rw-r--r-- | jsonschema/tests/test_validators.py | 4 |
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, |