[Lldb-commits] [PATCH] D16741: Make many of the skip decorators use common code

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 2 07:58:15 PST 2016


zturner added inline comments.

================
Comment at: packages/Python/lldbsuite/test/lldbtest.py:1102
@@ -1164,2 +1101,3 @@
+                return func(*args, **kwargs)
         return wrapper
 
----------------
labath wrote:
> This return statement is the root cause of the problem. If `func` is a class, you will replace it by a strange function-like object.
This return statement is newly added anyway (and looks to be a mistake).  Does this mean if I remove the return statement, the all of the skip decorators will be able to be used at class level?



http://reviews.llvm.org/D16741





More information about the lldb-commits mailing list