tests/system/framework/utils/tools.py: apply style fix for tuple unpacking

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
This commit is contained in:
Iker Pedrosa 2026-01-21 09:23:31 +01:00 committed by Alejandro Colomar
parent 958b485999
commit 0e167e2a02

View File

@ -61,7 +61,7 @@ class UnixObject(object):
if len(o) != 2 or not isinstance(o[0], int) or not isinstance(o[1], str):
raise NotImplementedError(f"Unable to compare {type(o)} with {self.__class__}")
(id, name) = o
id, name = o
return id == self.id and name == self.name
elif isinstance(o, UnixObject):
# Fallback to identity comparison