]>
git.proxmox.com Git - mirror_edk2.git/blob - AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/test_pass2.py
1 from json
.tests
import PyTest
, CTest
4 # from http://json.org/JSON_checker/test/pass2.json
6 [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]
9 class TestPass2(object):
11 # test in/out equivalence and parsing
12 res
= self
.loads(JSON
)
14 self
.assertEqual(res
, self
.loads(out
))
17 class TestPyPass2(TestPass2
, PyTest
): pass
18 class TestCPass2(TestPass2
, CTest
): pass