• Collin Winter's avatar
    Issue 5665: add more pickling tests. · f8089c77
    Collin Winter yazdı
    - 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.
    f8089c77
test_pickle.py 1.98 KB