Pylint thinks that the accel variable might be used here without
being set first, since it does not know that skipTest() never
returns. Thus initialize "accel = None" here to make it happy.
Message-Id: <
20251119082636.43286-14-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
elif kvm_available(self.qemu_bin):
accel = "kvm"
else:
+ accel = None # for keeping pylint happy
self.skipTest("Neither HVF nor KVM accelerator is available")
self.require_accelerator(accel)
self.require_netdev('user')