diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 09:01:51 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 09:01:51 (GMT) |
commit | 25ad76c91d9add168369360cb33953070a4c16a1 (patch) | |
tree | 664a8e7ef6f7e3f68d7d4bd143a20b71e360c722 | |
parent | 2ac747c05af00f09fba578b1d2a177ebe61931f2 (diff) | |
download | cpython-25ad76c91d9add168369360cb33953070a4c16a1.zip cpython-25ad76c91d9add168369360cb33953070a4c16a1.tar.gz cpython-25ad76c91d9add168369360cb33953070a4c16a1.tar.bz2 |
Added test for copy_reg rename.
Added note to documentation about copy_reg rename.
-rw-r--r-- | Doc/library/copy_reg.rst | 2 | ||||
-rw-r--r-- | Lib/test/test_py3kwarn.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/copy_reg.rst b/Doc/library/copy_reg.rst index 9b82a31..407044c 100644 --- a/Doc/library/copy_reg.rst +++ b/Doc/library/copy_reg.rst @@ -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 diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index ddf38ad..40f7b19 100644 --- a/Lib/test/test_py3kwarn.py +++ b/Lib/test/test_py3kwarn.py @@ -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: |