bpo-31904: set expected default encoding in test_c_locale_coercion.py for VxWorks RTOS by pxinwr · Pull Request #19448 · python/cpython
LGTM.
It's consistent with Include/pyport.h:
#if defined(__ANDROID__) || defined(__VXWORKS__)
/* Ignore the locale encoding: force UTF-8 */
# define _Py_FORCE_UTF8_LOCALE
#endif
I added _Py_FORCE_UTF8_LOCALE to better support platforms where the locale is ignored and we force the usage of the UTF-8 encoding.