[llvm-branch-commits] [lldb] 315fab4 - [lldb] Remove unused argument to expectedFailure

Jonas Devlieghere via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Dec 4 20:42:13 PST 2020


Author: Jonas Devlieghere
Date: 2020-12-04T20:37:41-08:00
New Revision: 315fab428d6084b09f82468740df5697ab3bb93b

URL: https://github.com/llvm/llvm-project/commit/315fab428d6084b09f82468740df5697ab3bb93b
DIFF: https://github.com/llvm/llvm-project/commit/315fab428d6084b09f82468740df5697ab3bb93b.diff

LOG: [lldb] Remove unused argument to expectedFailure

Added: 
    

Modified: 
    lldb/packages/Python/lldbsuite/test/decorators.py

Removed: 
    


################################################################################
diff  --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py
index 07b1d15810ab..2013c5241007 100644
--- a/lldb/packages/Python/lldbsuite/test/decorators.py
+++ b/lldb/packages/Python/lldbsuite/test/decorators.py
@@ -86,8 +86,7 @@ def _match_decorator_property(expected, actual):
     else:
         return expected == actual
 
-
-def expectedFailure(func, bugnumber=None):
+def expectedFailure(func):
     return unittest2.expectedFailure(func)
 
 def expectedFailureIfFn(expected_fn, bugnumber=None):


        


More information about the llvm-branch-commits mailing list