diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-08 19:20:17 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-01-08 19:20:17 (GMT) |
commit | 8015725d4f828ed877d90e17c3e1b7203f6f24a6 (patch) | |
tree | e75f291e1f4b4aee23eef323770eab6e7b0416b1 /Lib | |
parent | ce8e33a095030e7af94f58f9da196b240bdf0476 (diff) | |
download | cpython-8015725d4f828ed877d90e17c3e1b7203f6f24a6.zip cpython-8015725d4f828ed877d90e17c3e1b7203f6f24a6.tar.gz cpython-8015725d4f828ed877d90e17c3e1b7203f6f24a6.tar.bz2 |
Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles
renaming of `cPickle` to `pickle`. The warning was annoying since there's
no alternative to cPickle if you care about performance. Patch by Florent
Xicluna.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_py3kwarn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_py3kwarn.py b/Lib/test/test_py3kwarn.py index d754faa..8cb0be9 100644 --- a/Lib/test/test_py3kwarn.py +++ b/Lib/test/test_py3kwarn.py @@ -336,7 +336,7 @@ class TestStdlibRemovals(unittest.TestCase): 'sunos5' : ('sunaudiodev', 'SUNAUDIODEV'), } optional_modules = ('bsddb185', 'Canvas', 'dl', 'linuxaudiodev', 'imageop', - 'sv', 'cPickle', 'bsddb', 'dbhash') + 'sv', 'bsddb', 'dbhash') def check_removal(self, module_name, optional=False): """Make sure the specified module, when imported, raises a |