#13406: silence deprecation warnings in test_codecs.

This commit is contained in:
Ezio Melotti 2011-11-16 09:39:10 +02:00
parent 27c2a861ee
commit 11060a4a48
3 changed files with 17 additions and 10 deletions

View file

@ -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;