mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
bpo-40275: test.support imports lazily locale import (GH-19761)
This commit is contained in:
parent
785f5e6d67
commit
975408c065
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,6 @@
|
|||
import glob
|
||||
import importlib
|
||||
import importlib.util
|
||||
import locale
|
||||
import os
|
||||
import platform
|
||||
import re
|
||||
|
|
@ -2311,6 +2310,7 @@ def skip_if_buggy_ucrt_strfptime(test):
|
|||
See bpo-37552 [Windows] strptime/strftime return invalid
|
||||
results with UCRT version 17763.615
|
||||
"""
|
||||
import locale
|
||||
global _buggy_ucrt
|
||||
if _buggy_ucrt is None:
|
||||
if(sys.platform == 'win32' and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue