def testTimeFromTicks(self): if self.HAS_TZSET: val = pg8000.TimeFromTicks(1173804319) self.assertEqual(val, datetime.time(16, 45, 19))
def testTimeFromTicks(has_tzset): if has_tzset: val = pg8000.TimeFromTicks(1173804319) assert val == datetime.time(16, 45, 19)
def testTimeFromTicks(self): if IS_JYTHON: return val = pg8000.TimeFromTicks(1173804319) self.assertEqual(val, datetime.time(16, 45, 19))