Skip to content

Commit 35a9aa3

Browse files
committed
Darker fixes.
1 parent 907f442 commit 35a9aa3

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

libcxx/utils/libcxx/test/features.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ def _getAndroidDeviceApi(cfg):
329329
# Avoid building on platforms that don't support modules properly.
330330
or not hasCompileFlag(cfg, "-Wno-reserved-module-identifier"),
331331
),
332-
333332
]
334333

335334
# Deduce and add the test features that that are implied by the #defines in

libcxx/utils/libcxx/test/format.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,12 @@ def parseScript(test, preamble):
146146
elif module == "std.compat":
147147
has_std_compat_module = True
148148
else:
149-
script.insert(0, f"echo \"The module '{module}' is not valid, use 'std' or 'std.compat'\"")
150-
script.insert(1, "false");
151-
return script
149+
script.insert(
150+
0,
151+
f"echo \"The module '{module}' is not valid, use 'std' or 'std.compat'\"",
152+
)
153+
script.insert(1, "false")
154+
return script
152155

153156
if modules:
154157
# This flag is needed for both modules.

0 commit comments

Comments
 (0)