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 
8e5de66af3da8c2fc79b8fe2cbc26f94b677434d...c5997eedca3ada4c1d644ad41159933c3b8da051
 llvm/utils/lit/lit/formats/googletest.py
``````````

</details>

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

``````````diff
--- googletest.py       2024-03-21 16:35:43.000000 +0000
+++ googletest.py       2024-03-21 16:38:29.417663 +0000
@@ -31,11 +31,11 @@
     def get_num_tests(self, path, litConfig, localConfig):
         list_test_cmd = self.prepareCmd(
             [path, "--gtest_list_tests", "--gtest_filter=-*DISABLED_*"]
         )
         try:
-            localConfig.environment['DYLD_LIBRARY_PATH'] = ''
+            localConfig.environment["DYLD_LIBRARY_PATH"] = ""
             out = subprocess.check_output(list_test_cmd, 
env=localConfig.environment)
         except subprocess.CalledProcessError as exc:
             litConfig.warning(
                 "unable to discover google-tests in %r: %s. Process output: %s"
                 % (path, sys.exc_info()[1], exc.output)

``````````

</details>


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

Reply via email to