mirror of https://github.com/python/cpython
Added test for copy_reg rename.
Added note to documentation about copy_reg rename.
This commit is contained in:
parent
2ac747c05a
commit
25ad76c91d
|
@ -5,6 +5,8 @@
|
|||
.. module:: copy_reg
|
||||
:synopsis: Register pickle support functions.
|
||||
|
||||
.. note::
|
||||
The :mod:`copy_reg` module has been renamed to `copyreg` in Python 3.0.
|
||||
|
||||
.. index::
|
||||
module: pickle
|
||||
|
|
|
@ -183,7 +183,7 @@ class TestStdlibRemovals(unittest.TestCase):
|
|||
|
||||
class TestStdlibRenames(unittest.TestCase):
|
||||
|
||||
renames = {}
|
||||
renames = {'copy_reg': 'copyreg'}
|
||||
|
||||
def check_rename(self, module_name, new_module_name):
|
||||
"""Make sure that:
|
||||
|
|
Loading…
Reference in New Issue