mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Getting rid of cPickle. Mmm, feels good!
This commit is contained in:
parent
be6fe5476c
commit
99603b0c1e
22 changed files with 38 additions and 5846 deletions
|
|
@ -412,12 +412,6 @@ class ReTests(unittest.TestCase):
|
|||
def test_pickling(self):
|
||||
import pickle
|
||||
self.pickle_test(pickle)
|
||||
try:
|
||||
import cPickle
|
||||
except ImportError:
|
||||
pass # cPickle not found -- skip it
|
||||
else:
|
||||
self.pickle_test(cPickle)
|
||||
# old pickles expect the _compile() reconstructor in sre module
|
||||
import warnings
|
||||
with guard_warnings_filter():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue