def testDateFromTicks(self): if self.HAS_TZSET: val = pg8000.DateFromTicks(1173804319) self.assertEqual(val, datetime.date(2007, 3, 13))
def test_date_from_ticks(has_tzset): if has_tzset: val = pg8000.DateFromTicks(1173804319) assert val == datetime.date(2007, 3, 13)
def testDateFromTicks(self): if IS_JYTHON: return val = pg8000.DateFromTicks(1173804319) self.assertEqual(val, datetime.date(2007, 3, 13))