[lldb] Replace unittest2.expectedFailure with expectedFailure (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Sat, 15 Aug 2020 00:53:47 +0000 (17:53 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 17 Aug 2020 17:05:49 +0000 (10:05 -0700)
commite9b099401262108301ecf27305b06749d1a58286
tree5633553e8c9f02d9a8e16396af795b3043b8dd27
parentc6cc566c8a95bb39c65f7b39649e804809fc8701
[lldb] Replace unittest2.expectedFailure with expectedFailure (NFC)

Rename the existing expectedFailure to expectedFailureIfFn to better
describe its purpose and provide an overload for
unittest2.expectedFailure in decorators.py.
12 files changed:
lldb/packages/Python/lldbsuite/test/decorators.py
lldb/test/API/commands/expression/test/TestExprs.py
lldb/test/API/functionalities/avoids-fd-leak/TestFdLeak.py
lldb/test/API/functionalities/breakpoint/hardware_breakpoints/require_hw_breakpoints/TestRequireHWBreakpoints.py
lldb/test/API/functionalities/jitloader_gdb/TestJITLoaderGDB.py
lldb/test/API/functionalities/thread/state/TestThreadStates.py
lldb/test/API/lang/c/shared_lib/TestSharedLib.py
lldb/test/API/lang/c/shared_lib_stripped_symbols/TestSharedLibStrippedSymbols.py
lldb/test/API/lang/cpp/namespace/TestNamespaceLookup.py
lldb/test/API/lang/cpp/static_members/TestCPPStaticMembers.py
lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py
lldb/test/API/tools/lldb-server/TestLldbGdbServer.py