diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-11-16 07:39:10 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-11-16 07:39:10 (GMT) |
commit | 11060a4a48811f7f13d8f71b5ece2acda112b6de (patch) | |
tree | 7804963ffa2564c0f2f20e208d0b64e8bd22ea7f /Modules/_codecsmodule.c | |
parent | 27c2a861ee83b9e46f560eb02d246e1074fda4f6 (diff) | |
download | cpython-11060a4a48811f7f13d8f71b5ece2acda112b6de.zip cpython-11060a4a48811f7f13d8f71b5ece2acda112b6de.tar.gz cpython-11060a4a48811f7f13d8f71b5ece2acda112b6de.tar.bz2 |
#13406: silence deprecation warnings in test_codecs.
Diffstat (limited to 'Modules/_codecsmodule.c')
-rw-r--r-- | Modules/_codecsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_codecsmodule.c b/Modules/_codecsmodule.c index 58ffc1d..4cd5c23 100644 --- a/Modules/_codecsmodule.c +++ b/Modules/_codecsmodule.c @@ -688,7 +688,7 @@ unicode_internal_encode(PyObject *self, return NULL; if (PyErr_WarnEx(PyExc_DeprecationWarning, - "unicode_internal codecs has been deprecated", + "unicode_internal codec has been deprecated", 1)) return NULL; |