summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian+git@GrayVines.com>2012-06-10 13:53:37 -0400
committerJulian Berman <Julian+git@GrayVines.com>2012-06-10 13:53:37 -0400
commiteb026bd526132b113fec719ecf00532b15f9a38c (patch)
tree9f5dbecf4c557b7009919047f87068e14f82987f
parent07697625e8d52996c90c080d8d4e8ad1c03fb273 (diff)
downloadjsonschema-eb026bd526132b113fec719ecf00532b15f9a38c.tar.gz
Split off deprecation tests.
-rw-r--r--tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests.py b/tests.py
index bd6371e..9a1f6ea 100644
--- a/tests.py
+++ b/tests.py
@@ -632,6 +632,7 @@ class TestValidate(ParameterizedTestCase, unittest.TestCase):
with self.assertRaises(SchemaError):
validate([1], {"minItems" : "1"}) # needs to be an integer
+class TestDeprecations(unittest.TestCase):
# XXX: RemoveMe in 0.5
def test_number_types_deprecated(self):
with warnings.catch_warnings(record=True) as w: