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,
|
datetime.time(hour=self.hour, minute=self.minute, second=self.second,
|
||||||
microsecond=self.nanosecond // Time.MICRO) == other
|
microsecond=self.nanosecond // Time.MICRO) == other
|
||||||
|
|
||||||
|
def __ne__(self, other):
|
||||||
|
return not self.__eq__(other)
|
||||||
|
|
||||||
def __lt__(self, other):
|
def __lt__(self, other):
|
||||||
if not isinstance(other, Time):
|
if not isinstance(other, Time):
|
||||||
return NotImplemented
|
return NotImplemented
|
||||||
|
Reference in New Issue
Block a user