[Lldb-commits] [lldb] [lldb][windows] do not use ConPTY in tests (PR #192657)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 17 06:48:08 PDT 2026
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/windows/conpty/TestConPTY.py lldb/test/API/lit.cfg.py lldb/test/Shell/lit.cfg.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
--- API/windows/conpty/TestConPTY.py 2026-04-17 13:43:21.000000 +0000
+++ API/windows/conpty/TestConPTY.py 2026-04-17 13:47:03.746135 +0000
@@ -67,9 +67,11 @@
def test_large_output(self):
"""ConPTY delivers all output lines when output spans multiple reads."""
output = self._run_to_exit("large")
output_lines = output.split("\r\n")[:-1]
- self.assertEqual(_NUM_LINES, len(output_lines), "Got fewer lines than expected.")
+ self.assertEqual(
+ _NUM_LINES, len(output_lines), "Got fewer lines than expected."
+ )
for i, line in enumerate(output_lines):
self.assertEqual("line %04d" % i, line)
``````````
</details>
https://github.com/llvm/llvm-project/pull/192657
More information about the lldb-commits
mailing list