def test_time(): val = pg8000.Time(4, 5, 6) assert val == datetime.time(4, 5, 6)
def testTime(self): val = pg8000.Time(4, 5, 6) self.assertEqual(val, datetime.time(4, 5, 6))