]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46659: test.support avoids locale.getdefaultlocale() (GH-31167)
authorVictor Stinner <vstinner@python.org>
Sun, 6 Feb 2022 20:51:56 +0000 (21:51 +0100)
committerGitHub <noreply@github.com>
Sun, 6 Feb 2022 20:51:56 +0000 (21:51 +0100)
commit06b8f1615b09099fae5c5393334b8716a4144d20
tree7e2d4fd8e53849cbe8ede14756aaf5a24acb3c07
parent04dd60e50cd3da48fd19cdab4c0e4cc600d6af30
bpo-46659: test.support avoids locale.getdefaultlocale() (GH-31167)

skip_if_buggy_ucrt_strfptime() of test.support now uses
locale.getpreferredencoding(False) instead of
locale.getdefaultlocale() to get the Windows code page.
Lib/test/support/__init__.py