summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cpickle.py
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize pickle/cPickle testing so the tests pass regardless of the orderTim Peters2001-01-221-4/+2
| | | | they're run.
* Fix Bug #114293:Jeremy Hylton2000-09-151-104/+2
| | | | | | | | | | | Strings are unpickled by calling eval on the string's repr. This change makes pickle work like cPickle; it checks if the pickled string is safe to eval and raises ValueError if it is not. test suite modifications: Verify that pickle catches a variety of insecure string pickles Make test_pickle and test_cpickle use exactly the same test suite Add test for pickling recursive object
* Charles Waldman writes:Guido van Rossum2000-04-211-4/+4
| | | | | | | | | | """ In the course of debugging this I also saw that cPickle is inconsistent with pickle - if you attempt a pickle.load or pickle.dump on a closed file, you get a ValueError, whereas the corresponding cPickle operations give an IOError. Since cPickle is advertised as being compatible with pickle, I changed these exceptions to match. """
* Add test case for bug just fixed by Stephen Turner.Guido van Rossum1999-07-131-0/+11
|
* Jonathan Giddy write:Guido van Rossum1999-04-011-0/+1
| | | | | In test_cpickle.py, the module os got imported, but the line to remove the temp file has gone missing.
* Test protection against picling to/from closed (real) file.Guido van Rossum1999-03-291-0/+20
|
* Basic regr tests for pickle/cPickleGuido van Rossum1999-03-251-0/+75