[Lldb-commits] [PATCH] D89716: [LLDB][TestSuite] Improve skipIfWindowsAndNonEnglish in decorators.py

Alexandre Ganea via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 19 11:28:20 PDT 2020


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":


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89716.299113.patch
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201019/e7f7b4e9/attachment.bin>


More information about the lldb-commits mailing list