tests/functional/m68k/test_nextcube: Fix issues reported by pylint

Fix the indentation in one line, and while we're at it, use an f-string
instead of old-school formatting in another spot.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20251110104837.52077-1-thuth@redhat.com>
This commit is contained in:
Thomas Huth 2025-11-10 11:48:37 +01:00
parent 92e262fc28
commit 0fa4b130a8

View file

@ -40,7 +40,7 @@ class NextCubeMachine(QemuSystemTest):
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 @@ class NextCubeMachine(QemuSystemTest):
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)