mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +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
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue