#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

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