[PyPy-issue] [issue624] Make Python 2.7 Json tests pass
pypy-dev-issue at codespeak.net
Sat Jan 22 23:00:25 CET 2011
New submission from Bobby Impollonia <bobbyi at gmail.com>:
Some of the json tests verify that functions are being pulled from _json (its C extension module). Since pypy doesn't have a _json
module, the json tests in lib-python/2.7.0/test/test_json.py currently do not all pass.
If the attached file is added as lib-python/modified-2.7.0/_json.py , then the json tests pass since this adds a _json module
with the functions the tests expect. The implementations of those functions are identical to the ones in json.decoder /
An alternate approach would be to modify the tests to remove the checks for things coming from _json.
nosy: bobbyi, pypy-issue
title: Make Python 2.7 Json tests pass
PyPy development tracker <pypy-dev-issue at codespeak.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5975 bytes
Desc: not available
More information about the Pypy-issue