Skip to content

Commit 09a2a32

Browse files
committed
Update test_c_locale_coercion
1 parent e0b649c commit 09a2a32

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Lib/test/test_c_locale_coercion.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@
5555
# VxWorks defaults to using UTF-8 for all system interfaces
5656
EXPECTED_C_LOCALE_STREAM_ENCODING = "utf-8"
5757
EXPECTED_C_LOCALE_FS_ENCODING = "utf-8"
58-
if sys.platform.startswith("linux"):
59-
# Linux recognizes POSIX as a synonym for C. Python will always coerce
60-
# if the locale is set to POSIX, but not all platforms will use the
61-
# C locale encodings if POSIX is set, so we'll only test it on linux.
62-
EXPECTED_C_LOCALE_EQUIVALENTS.append("POSIX")
6358

6459
# Note that the above expectations are still wrong in some cases, such as:
6560
# * Windows when PYTHONLEGACYWINDOWSFSENCODING is set

0 commit comments

Comments
 (0)