Fix: MutableRecord.__ne__ misspelt as '__neq__'.

Add tests for MutableRecord and Position.
This commit is contained in:
joo committed 2018-06-21 07:06:45 +01:00
1 parent 4b6feda1cb
commit bea2222c58
3 files changed
+6 -2

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ class MutableRecord(object):
return type(self) is type(other) and \
all(getattr(self, a) == getattr(other, a) for a in self.__slots__)
def __neq__(self, other):
def __ne__(self, other):
return not (self == other)
def __hash__(self):