Commit eb227b35 authored by Mark Hymers's avatar Mark Hymers

Add __eq__ for completeness

Signed-off-by: Mark Hymers's avatarMark Hymers <mark.hymers@hankel.co.uk>
parent 4c4ac61a
......@@ -70,6 +70,11 @@ class TestArrayContainer(AbstractAnam):
# by object ID for test purposes
return id(self) < id(other)
def __eq__(self, other):
# This isn't a proper test, it just compares
# by object ID for test purposes
return id(self) == id(other)
register_class(TestArrayContainer)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment