forked from OSchip/llvm-project
[LLDB][TestSuite] Improve skipIfWindowsAndNonEnglish in decorators.py
Differential Revision: https://reviews.llvm.org/D89716
This commit is contained in:
parent
629d1d117a
commit
89b72209ad
|
@ -597,7 +597,7 @@ def skipIfWindows(func):
|
|||
def skipIfWindowsAndNonEnglish(func):
|
||||
"""Decorate the item to skip tests that should be skipped on non-English locales on Windows."""
|
||||
def is_Windows_NonEnglish(self):
|
||||
if lldbplatformutil.getPlatform() != "windows":
|
||||
if sys.platform != "win32":
|
||||
return None
|
||||
kernel = ctypes.windll.kernel32
|
||||
if locale.windows_locale[ kernel.GetUserDefaultUILanguage() ] == "en_US":
|
||||
|
|
Loading…
Reference in New Issue