[Lldb-commits] [PATCH] Allow ExpectedFailure* decorators to work with optional arguments

Chaoren Lin chaorenl at google.com
Thu Mar 26 17:38:03 PDT 2015


================
Comment at: test/lldbtest.py:553
@@ +552,3 @@
+    # if bugnumber is not-callable(incluing None), that means decorator function is called with optional arguments
+    # return decorator in this case, so it will be used to decorating original method
+    if callable(bugnumber):
----------------
Nit: "so it will be used to **decorate** original method"

http://reviews.llvm.org/D8595

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list