tests/functional/m68k/test_nextcube: Fix issues reported by pylint
PATCH 1/1 tests/functional/m68k/test_nextcube: Fix issues reported by pylint
From: Thomas Huth <[email protected]>
Fix the indentation in one line, and while we're at it, use an f-string instead of old-school formatting in another spot.
Signed-off-by Thomas Huth <[email protected]>
--- tests/functional/m68k/test_nextcube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/functional/m68k/test_nextcube.py +2 -2
@@ -40,7 +40,7 @@ def check_bootrom_framebuffer(self, screenshot_path): time.sleep(0.1) res = self.vm.cmd('human-monitor-command', - command_line='screendump %s' % screenshot_path) + command_line=f"screendump {screenshot_path}") if 'unknown command' in res: self.skipTest('screendump not available')
@@ -52,7 +52,7 @@ def test_bootrom_framebuffer_size(self): from PIL import Image with Image.open(screenshot_path) as image: - width, height = image.size + width, height = image.size self.assertEqual(width, 1120) self.assertEqual(height, 832)
Signature · 1 line
2.51.1
Quoted 9 lines · Thomas Huth
From: Thomas Huth <[email protected]>
Fix the indentation in one line, and while we're at it, use an f-string instead of old-school formatting in another spot.
Signed-off-by Thomas Huth <[email protected]>--- tests/functional/m68k/test_nextcube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>