[lldb/Test] Fix skipTestIfFn for fucntions that return a value
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 4 Aug 2020 02:56:10 +0000 (19:56 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 4 Aug 2020 02:56:12 +0000 (19:56 -0700)
commitd6a5cce0e7d65562f081569a61595e53cdb8d5d0
treeface0b7454f017398515f37d9d67f0a7b399e490
parenta06c28df3e8c85ceb665d3d9a1ebc2853dfd87a9
[lldb/Test] Fix skipTestIfFn for fucntions that return a value

Sometimes the decorator is used on a common function rather than the
test method, which can return a value. This fails with decorators that
use skipTestIfFn under the hood.
lldb/packages/Python/lldbsuite/test/decorators.py