[Lldb-commits] [lldb] [LLDB] Fix tests on Windows (PR #131600)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 17 03:43:32 PDT 2025
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 7dcea28bf92e49737fa285e93621cfa814323524...959c86f9cee6bedadc32bb99574b4fdfac37f0fd lldb/test/API/lldbtest.py lldb/test/API/python_api/watchpoint/watchlocation/TestTargetWatchAddress.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- python_api/watchpoint/watchlocation/TestTargetWatchAddress.py 2025-03-17 10:35:10.000000 +0000
+++ python_api/watchpoint/watchlocation/TestTargetWatchAddress.py 2025-03-17 10:43:04.544698 +0000
@@ -199,11 +199,11 @@
wp_opts.SetWatchpointTypeWrite(lldb.eWatchpointWriteTypeOnModify)
watchpoint = target.WatchpointCreateByAddress(
value.GetValueAsUnsigned(), 365, wp_opts, error
)
self.assertFalse(watchpoint)
- if self.getPlatform() == 'windows':
+ if self.getPlatform() == "windows":
self.expect(
error.GetCString(),
exe=False,
substrs=["Can't enable watchpoint"],
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/131600
More information about the lldb-commits
mailing list