from https json orgjsoncheckertestpass3 json class testpass3 def testparseself test inout equivalence and parsing res self loadsjson out self dumpsres self assertequalres self loadsout class testpypass3testpass3 pytest pass class testcpass3testpass3 ctest pass from https json org json_checker test pass3 json json test pattern pass3 the outermost value must be an object or array in this test it is an object test in out equivalence and parsing
from test.test_json import PyTest, CTest



JSON = r


class TestPass3:
    def test_parse(self):
        
        res = self.loads(JSON)
        out = self.dumps(res)
        self.assertEqual(res, self.loads(out))


class TestPyPass3(TestPass3, PyTest): pass
class TestCPass3(TestPass3, CTest): pass