Fixed the validation UDT data tests
This commit is contained in:
@@ -974,6 +974,9 @@ class Time(object):
|
||||
datetime.time(hour=self.hour, minute=self.minute, second=self.second,
|
||||
microsecond=self.nanosecond // Time.MICRO) == other
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
||||
def __lt__(self, other):
|
||||
if not isinstance(other, Time):
|
||||
return NotImplemented
|
||||
@@ -1067,7 +1070,7 @@ class Date(object):
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
||||
|
||||
def __lt__(self, other):
|
||||
if not isinstance(other, Date):
|
||||
return NotImplemented
|
||||
|
Reference in New Issue
Block a user