This revision was automatically updated to reflect the committed changes. Closed by commit rG89b72209ad9b: [LLDB][TestSuite] Improve skipIfWindowsAndNonEnglish in decorators.py (authored by aganea).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D89716/new/ https://reviews.llvm.org/D89716 Files: lldb/packages/Python/lldbsuite/test/decorators.py Index: lldb/packages/Python/lldbsuite/test/decorators.py =================================================================== --- lldb/packages/Python/lldbsuite/test/decorators.py +++ lldb/packages/Python/lldbsuite/test/decorators.py @@ -597,7 +597,7 @@ 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":
Index: lldb/packages/Python/lldbsuite/test/decorators.py =================================================================== --- lldb/packages/Python/lldbsuite/test/decorators.py +++ lldb/packages/Python/lldbsuite/test/decorators.py @@ -597,7 +597,7 @@ 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":
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits