1 from unittest import TestCase
2 import simplejson as json
4 # from http://json.org/JSON_checker/test/pass2.json
6 [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]
9 class TestPass2(TestCase):
11 # test in/out equivalence and parsing
12 res = json.loads(JSON)
14 self.assertEquals(res, json.loads(out))