[libcxx-commits] [libcxx] [NFC][libc++][test] Refactor new ftm generator tests. (PR #134490)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 5 03:21:14 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 HEAD~1...HEAD libcxx/test/libcxx/feature_test_macro/ftm_metadata.sh.py libcxx/test/libcxx/feature_test_macro/implemented_ftms.sh.py libcxx/test/libcxx/feature_test_macro/standard_ftms.sh.py libcxx/test/libcxx/feature_test_macro/std_dialects.sh.py libcxx/test/libcxx/feature_test_macro/version_header.sh.py libcxx/test/libcxx/feature_test_macro/version_header_implementation.sh.py
``````````

</details>

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

``````````diff
--- implemented_ftms.sh.py	2025-04-05 10:16:21.000000 +0000
+++ implemented_ftms.sh.py	2025-04-05 10:20:45.412225 +0000
@@ -23,11 +23,10 @@
     def setUp(self):
         self.ftm = FeatureTestMacros(TEST_DATA)
         self.maxDiff = None  # This causes the diff to be printed when the test fails
 
     def test_implementation(self):
-
         expected = {
             "__cpp_lib_any": {
                 "c++17": "201606L",
                 "c++20": "201606L",
                 "c++23": "201606L",

``````````

</details>


https://github.com/llvm/llvm-project/pull/134490


More information about the libcxx-commits mailing list