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 origin/main...HEAD
lldb/test/API/lang/cpp/msvcstl-internals-recognizer/TestMSVCSTLInternalsRecognizer.py
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestMSVCSTLInternalsRecognizer.py 2026-05-07 14:50:06.000000 +0000
+++ TestMSVCSTLInternalsRecognizer.py 2026-05-07 14:51:27.986746 +0000
@@ -98,11 +98,13 @@
frame = thread.selected_frame
if frame.GetFunctionName() == "main":
break
end_idx = frame.GetFrameID()
self.assertEqual(frame.GetFunctionName(), "main")
- self.assertLess(up_steps, end_idx - start_idx, "expected skipped
frames going up")
+ self.assertLess(
+ up_steps, end_idx - start_idx, "expected skipped frames going up"
+ )
# Walk back down to `target`.
start_idx = frame.GetFrameID()
down_steps = 0
for _ in range(thread.GetNumFrames()):
@@ -111,11 +113,13 @@
frame = thread.selected_frame
if "target" in (frame.GetFunctionName() or ""):
break
end_idx = frame.GetFrameID()
self.assertIn("target", frame.GetFunctionName())
- self.assertLess(down_steps, start_idx - end_idx, "expected skipped
frames going down")
+ self.assertLess(
+ down_steps, start_idx - end_idx, "expected skipped frames going
down"
+ )
@skipUnlessWindows
def test_user_lambda_not_hidden(self):
"""The user's lambda wrapper (`main::<lambda_...>::operator()`)
is user code and must NOT be hidden, even though it sits among
``````````
</details>
https://github.com/llvm/llvm-project/pull/196336
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits