Skip to content

Commit b2af465

Browse files
[gardening] Fix PEP-8 violations.
1 parent 5c87487 commit b2af465

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

utils/swift_build_support/tests/products/test_swift.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def test_by_default_no_cmake_options(self):
8282
toolchain=self.toolchain,
8383
source_dir='/path/to/src',
8484
build_dir='/path/to/build')
85-
self.assertEqual(swift.cmake_options, ['-DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE'])
85+
self.assertEqual(swift.cmake_options, [
86+
'-DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE'])
8687

8788
def test_swift_runtime_tsan(self):
8889
self.args.enable_tsan_runtime = True
@@ -240,7 +241,7 @@ def test_benchmark_flags(self):
240241
self.assertEqual(
241242
['-DSWIFT_BENCHMARK_NUM_ONONE_ITERATIONS=20',
242243
'-DSWIFT_BENCHMARK_NUM_O_ITERATIONS=3'],
243-
[x for x in swift.cmake_options if 'SWIFT_BENCHMARK_NUM' in x])
244+
[x for x in swift.cmake_options if 'SWIFT_BENCHMARK_NUM' in x])
244245
self.args.benchmark_num_onone_iterations = 3
245246

246247
self.args.benchmark_num_o_iterations = 30
@@ -276,4 +277,5 @@ def test_sil_ownership_flags(self):
276277
build_dir='/path/to/build')
277278
self.assertEqual(
278279
['-DSWIFT_STDLIB_ENABLE_SIL_OWNERSHIP=TRUE'],
279-
[x for x in swift.cmake_options if 'SWIFT_STDLIB_ENABLE_SIL_OWNERSHIP' in x])
280+
[x for x in swift.cmake_options
281+
if 'SWIFT_STDLIB_ENABLE_SIL_OWNERSHIP' in x])

0 commit comments

Comments
 (0)