hyperjson icon indicating copy to clipboard operation
hyperjson copied to clipboard

Port CPython 3.6.5 test cases

Open wdv4758h opened this issue 6 years ago • 4 comments

I've ported CPython 3.6.5's test cases for json module to hyperjson. I disable the test_recursion.py due to it crash the process. Except the test_recursion.py, I get 44 failed, 27 passed for these test cases. Hopefully, this can help us understand how compatable we are and disscover bugs or some edge cases.

If we discover some behavior we won't implement at all, we better write them done to the docs.

wdv4758h avatar Jun 03 '18 07:06 wdv4758h

@wdv4758h, could you merge the master into this branch? Maybe that fixes a few more tests now. I'd love to get this merged. 😉 🍷

mre avatar Nov 20 '18 00:11 mre

@mre I've merged current master in.

Current result: ============== 41 failed, 172 passed, 31 skipped in 7.54 seconds =============== Previous result: ============== 42 failed, 159 passed, 31 skipped in 3.69 seconds ===============

wdv4758h avatar Nov 23 '18 14:11 wdv4758h

There are some parameters in standard libarary's json not included in hyperjson, e.g. indent. For these features, we can either add it in or add it to incompatabilty docs.

wdv4758h avatar Nov 23 '18 14:11 wdv4758h

FYI: Working on the fixes over at #54 in case anybody wants to chime in. 😉

mre avatar Nov 26 '18 20:11 mre