Message306019
Several of the tests in test_c_locale_coercion (particularly LocaleCoercionTests._check_c_locale_coercion) tend to assume that the system default locale used when setting setlocale(category, "") and when all the relevant environment variables are empty/blank will be the "C"/"POSIX" locale.
While this is often true POSIX does not require this to be the case. For example on Cygwin it already defaults to "C.UTF-8", so these tests fail because they assume the legacy coercion will be used, when it isn't (e.g. the LC_CTYPE environment variable does not get forced to "C.UTF-8"). In principle this can affect any platform, however, that chooses a different default. |
|
Date |
User |
Action |
Args |
2017-11-10 10:47:52 | erik.bray | set | recipients:
+ erik.bray, ncoghlan |
2017-11-10 10:47:52 | erik.bray | set | messageid: <1510310872.23.0.213398074469.issue32002@psf.upfronthosting.co.za> |
2017-11-10 10:47:52 | erik.bray | link | issue32002 messages |
2017-11-10 10:47:52 | erik.bray | create | |
|