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 
76706090c2f672ae933798292bfa889f9e3dac3d...ebf4db52352c39f33e483affa2bcee88298b353a
 lldb/test/API/functionalities/stats_api/TestStatisticsAPI.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- TestStatisticsAPI.py        2024-02-05 21:30:06.000000 +0000
+++ TestStatisticsAPI.py        2024-02-05 21:36:35.135968 +0000
@@ -77,18 +77,18 @@
         # Test statistics summary.
         stats_summary = target.GetStatistics(True)
         stream_summary = lldb.SBStream()
         res = stats_summary.GetAsJSON(stream_summary)
         debug_stats_summary = json.loads(stream_summary.GetData())
-        self.assertNotIn('modules', debug_stats_summary)
-        self.assertNotIn('memory', debug_stats_summary)
-        self.assertNotIn('commands', debug_stats_summary)
+        self.assertNotIn("modules", debug_stats_summary)
+        self.assertNotIn("memory", debug_stats_summary)
+        self.assertNotIn("commands", debug_stats_summary)
 
         # Summary values should be the same as in full statistics.
         for key, value in debug_stats_summary.items():
             self.assertIn(key, debug_stats)
-            if key != 'targets':
+            if key != "targets":
                 self.assertEqual(debug_stats[key], value)
 
     def test_command_stats_api(self):
         """
         Test GetCommandInterpreter::GetStatistics() API.

``````````

</details>


https://github.com/llvm/llvm-project/pull/80745
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to