mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
#13406: silence deprecation warnings in test_codecs.
This commit is contained in:
parent
27c2a861ee
commit
11060a4a48
3 changed files with 17 additions and 10 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue