This website requires JavaScript.
Explore
Help
Register
Sign In
Rooba
/
cpython
mirror of
https://github.com/python/cpython.git
Watch
1
Star
0
Fork
You've already forked cpython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
675e1d0a0d
cpython
/
Lib
/
test
/
test_cpickle.py
6 lines
89 B
Python
Raw
Normal View
History
Unescape
Escape
Basic regr tests for pickle/cPickle
1999-03-25 22:38:49 +00:00
# Test the cPickle module
import
cPickle
Fix Bug #114293: 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
2000-09-15 15:14:51 +00:00
import
test_pickle
test_pickle
.
dotest
(
cPickle
)