from https json orgjsoncheckertestpass2 json class testpass2 def testparseself test inout equivalence and parsing res self loadsjson out self dumpsres self assertequalres self loadsout class testpypass2testpass2 pytest pass class testcpass2testpass2 ctest pass from https json org json_checker test pass2 json not too deep test in out equivalence and parsing
from test.test_json import PyTest, CTest



JSON = r

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


class TestPyPass2(TestPass2, PyTest): pass
class TestCPass2(TestPass2, CTest): pass