[Concept,06/14] buildman: Fix indentation in func_test
Commit Message
From: Simon Glass <simon.glass@canonical.com>
Fix inconsistent indentation in test_bad_toolchain() where 2 spaces
are used instead of 4 spaces. This fixes pylint W0311 warning.
Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---
tools/buildman/func_test.py | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
@@ -581,13 +581,13 @@ Some images are invalid'''
for commit in range(self._commits):
for brd in self._boards.get_list():
if brd.arch != 'sandbox':
- errfile = self._builder.get_err_file(commit, brd.target)
- fd = open(errfile)
- self.assertEqual(
- fd.readlines(),
- [f'Tool chain error for {brd.arch}: '
- f"No tool chain found for arch '{brd.arch}'"])
- fd.close()
+ errfile = self._builder.get_err_file(commit, brd.target)
+ fd = open(errfile)
+ self.assertEqual(
+ fd.readlines(),
+ [f'Tool chain error for {brd.arch}: '
+ f"No tool chain found for arch '{brd.arch}'"])
+ fd.close()
def test_toolchain_errors(self):
"""Test that toolchain errors are reported in the summary