diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-11-16 09:39:10 +0200 |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-11-16 09:39:10 +0200 |
| commit | 11060a4a48811f7f13d8f71b5ece2acda112b6de (patch) | |
| tree | 7804963ffa2564c0f2f20e208d0b64e8bd22ea7f /Objects/unicodeobject.c | |
| parent | 27c2a861ee83b9e46f560eb02d246e1074fda4f6 (diff) | |
| download | cpython-git-11060a4a48811f7f13d8f71b5ece2acda112b6de.tar.gz | |
#13406: silence deprecation warnings in test_codecs.
Diffstat (limited to 'Objects/unicodeobject.c')
| -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 cdad738d47..a0459a07b6 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; |
