mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
bpo-31904: Fix test_c_locale_coercion encodings for VxWorks RTOS (GH-19448)
This commit is contained in:
@@ -49,6 +49,10 @@ elif sys.platform == "cygwin":
|
||||
# TODO: Work out a robust dynamic test for this that doesn't rely on
|
||||
# CPython's own locale handling machinery
|
||||
EXPECT_COERCION_IN_DEFAULT_LOCALE = False
|
||||
elif sys.platform == "vxworks":
|
||||
# VxWorks defaults to using UTF-8 for all system interfaces
|
||||
EXPECTED_C_LOCALE_STREAM_ENCODING = "utf-8"
|
||||
EXPECTED_C_LOCALE_FS_ENCODING = "utf-8"
|
||||
|
||||
# Note that the above expectations are still wrong in some cases, such as:
|
||||
# * Windows when PYTHONLEGACYWINDOWSFSENCODING is set
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Set expected default encoding in test_c_locale_coercion.py for VxWorks RTOS.
|
||||
Reference in New Issue
Block a user