diff options
author | TIGirardi <tiagoigirardi@gmail.com> | 2020-10-20 11:39:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 11:39:52 (GMT) |
commit | f2312037e3a974d26ed3e23884f94c6af111a27a (patch) | |
tree | 526751eda29e5bc7bffed8dcb7a5e87c5074d6c7 /Lib | |
parent | d5d052127059fd99c90ea7a2e948a0242a1d7285 (diff) | |
download | cpython-f2312037e3a974d26ed3e23884f94c6af111a27a.zip cpython-f2312037e3a974d26ed3e23884f94c6af111a27a.tar.gz cpython-f2312037e3a974d26ed3e23884f94c6af111a27a.tar.bz2 |
bpo-38324: Fix test__locale.py Windows failures (GH-20529)
Use wide-char _W_* fields of lconv structure on Windows
Remove "ps_AF" from test__locale.known_numerics on Windows
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test__locale.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test__locale.py b/Lib/test/test__locale.py index cda0ee9..59a00ba 100644 --- a/Lib/test/test__locale.py +++ b/Lib/test/test__locale.py @@ -72,6 +72,10 @@ known_numerics = { 'ps_AF': ('\u066b', '\u066c'), } +if sys.platform == 'win32': + # ps_AF doesn't work on Windows: see bpo-38324 (msg361830) + del known_numerics['ps_AF'] + class _LocaleTests(unittest.TestCase): def setUp(self): |