[Lldb-commits] [lldb] [lldb][test] Apply @expectedFailureAll/@skipIf early for debug_info tests (PR #73067)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 21 17:52:00 PST 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 331111277a3e80aedd1a6877524feadfbcb41a88..22bfc5878f1f96b3138a03eea4dc856948185c89 lldb/packages/Python/lldbsuite/test/decorators.py lldb/packages/Python/lldbsuite/test/lldbtest.py lldb/test/API/test_utils/TestDecorators.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- packages/Python/lldbsuite/test/lldbtest.py 2023-11-22 01:28:30.000000 +0000
+++ packages/Python/lldbsuite/test/lldbtest.py 2023-11-22 01:51:52.620205 +0000
@@ -1710,11 +1710,13 @@
test_method.__name__ = method_name
test_method.debug_info = cat
xfail_reason = xfail_for_debug_info_cat_fn(cat)
if xfail_reason:
- test_method = unittest2.expectedFailure(xfail_reason)(test_method)
+ test_method = unittest2.expectedFailure(xfail_reason)(
+ test_method
+ )
skip_reason = skip_for_debug_info_cat_fn(cat)
if skip_reason:
test_method = unittest2.skip(skip_reason)(test_method)
``````````
</details>
https://github.com/llvm/llvm-project/pull/73067
More information about the lldb-commits
mailing list