Fix an issue where all tests marked with skip_if_callable would be skipped regardless of the actual callable

llvm-svn: 254758
diff --git a/lldb/packages/Python/lldbsuite/test/lldbutil.py b/lldb/packages/Python/lldbsuite/test/lldbutil.py
index 5521b80..6b24256 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbutil.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbutil.py
@@ -985,10 +985,11 @@
     def __repr__(self):
         return "re.compile(%s) -> %s" % (self.text, self.regex)
 
-def skip_if_callable(test, callable, reason):
-    if six.callable(test):
-        test.skipTest(reason)
-        return True
+def skip_if_callable(test, mycallable, reason):
+    if six.callable(mycallable):
+        if mycallable(test):
+            test.skipTest(reason)
+            return True
     return False
 
 def skip_if_library_missing(test, target, library):