Skip to content

bpo-46659: test.support avoids locale.getdefaultlocale()#31167

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:support_getdefaultlocale
Feb 6, 2022
Merged

bpo-46659: test.support avoids locale.getdefaultlocale()#31167
vstinner merged 1 commit intopython:mainfrom
vstinner:support_getdefaultlocale

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Feb 6, 2022

skip_if_buggy_ucrt_strfptime() of test.support now uses
locale.getpreferredencoding(False) instead of
locale.getdefaultlocale() to get the Windwos code page.

https://bugs.python.org/issue46659

skip_if_buggy_ucrt_strfptime() of test.support now uses
locale.getpreferredencoding(False) instead of
locale.getdefaultlocale() to get the Windwos code page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants