From: Dylan Baker <[email protected]> Apparently these aren't inherited in python 3, which makes sense.
Signed-off-by: Dylan Baker <[email protected]> --- framework/status.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/status.py b/framework/status.py index 4c8b421..7fca856 100644 --- a/framework/status.py +++ b/framework/status.py @@ -227,6 +227,9 @@ class NoChangeStatus(Status): return six.text_type(self) != six.text_type(other) raise TypeError("Cannot compare type: {}".format(type(other))) + def __hash__(self): + return hash(self.name) + NOTRUN = NoChangeStatus('notrun') -- 2.7.0 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
