commit | f8089c7789d61979fd195e67186a77039534cc87 | [log] [tgz] |
---|---|---|
author | Collin Winter <collinw@gmail.com> | Thu Apr 09 16:46:46 2009 +0000 |
committer | Collin Winter <collinw@gmail.com> | Thu Apr 09 16:46:46 2009 +0000 |
tree | c4373d2f33fd36ecb5e9247ad9f829e6f57ae3e7 | |
parent | 5963185b2329856e94abe851fb2333f6bcee4347 [diff] |
Issue 5665: add more pickling tests. - Add tests for the module-level load() and dump() functions. - Add tests for cPickle's internal data structures, stressing workloads with many gets/puts. - Add tests for the Pickler and Unpickler classes, in particular the memo attribute. - test_xpickle is extended to test backwards compatibility with Python 2.4, 2.5 and 2.6 by round-tripping pickled objects through a worker process. This is guarded with a regrtest -u xpickle resource.