[Lldb-commits] [lldb] [lldb] Fix 'session save' command on Windows (PR #93833)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 30 07:49:57 PDT 2024
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 22c572eae0f3a73b9154718a3f46c08531e52e91...a11876da55230bd9c5df7cddc3726cef5f5836a1 lldb/test/API/commands/session/save/TestSessionSave.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestSessionSave.py 2024-05-30 14:40:54.000000 +0000
+++ TestSessionSave.py 2024-05-30 14:49:27.945842 +0000
@@ -64,10 +64,11 @@
os.close(fd)
def cleanup():
if os.path.exists(output_file):
os.unlink(output_file)
+
self.addTearDownHook(cleanup)
res = lldb.SBCommandReturnObject()
interpreter.HandleCommand("session save " + output_file, res)
self.assertTrue(res.Succeeded())
``````````
</details>
https://github.com/llvm/llvm-project/pull/93833
More information about the lldb-commits
mailing list