[Lldb-commits] [lldb] 46d0ec3 - [lldb] Remove tab from TestReturnValue.py

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Tue Dec 3 02:45:22 PST 2019


Author: Raphael Isemann
Date: 2019-12-03T11:44:24+01:00
New Revision: 46d0ec3a803021281c8d868b1487d2d5cd06f274

URL: https://github.com/llvm/llvm-project/commit/46d0ec3a803021281c8d868b1487d2d5cd06f274
DIFF: https://github.com/llvm/llvm-project/commit/46d0ec3a803021281c8d868b1487d2d5cd06f274.diff

LOG: [lldb] Remove tab from TestReturnValue.py

Mixing tabs and spaces makes Python exit with this error:

  File "llvm/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py", line 23
    return (self.getArchitecture() == "aarch64" and self.getPlatform() == "linux")
                                                                                 ^
TabError: inconsistent use of tabs and spaces in indentation

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py b/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
index b326c96325fa..a0f434aad654 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/return-value/TestReturnValue.py
@@ -20,7 +20,7 @@ def affected_by_pr33042(self):
             "aarch64" and self.getPlatform() == "linux")
 
     def affected_by_pr44132(self):
-	return (self.getArchitecture() == "aarch64" and self.getPlatform() == "linux")
+        return (self.getArchitecture() == "aarch64" and self.getPlatform() == "linux")
 
     # ABIMacOSX_arm can't fetch simple values inside a structure
     def affected_by_radar_34562999(self):


        


More information about the lldb-commits mailing list