mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
[LLDB][TestSuite] Improve skipIfWindowsAndNonEnglish in decorators.py
Differential Revision: https://reviews.llvm.org/D89716
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user