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 /Objects | |
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 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index cdad738..a0459a0 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -6235,7 +6235,7 @@ _PyUnicode_DecodeUnicodeInternal(const char *s, PyObject *exc = NULL; if (PyErr_WarnEx(PyExc_DeprecationWarning, - "unicode_internal codecs has been deprecated", + "unicode_internal codec has been deprecated", 1)) return NULL; |