Description
Fail logs:
______________________TypesTests.test_TimeFromTicks______________________
self = <tests.spanner_dbapi.test_types.TypesTests testMethod=test_TimeFromTicks>
def test_TimeFromTicks(self):
epochTicks = 1572851662.9782631 # Sun Nov 03 23:14:22 2019
got = TimeFromTicks(epochTicks)
# Since continuous integration infrastructure such as Travis CI
# uses clocks on UTC, it is useful to be able to compare against
# either of UTC or the known standard time.
want = (
datetime.time(23, 14, 22),
datetime.datetime(2019, 11, 4, 7, 14, 22, tzUTC).time(),
)
matches = got in want
> self.assertTrue(matches, '`%s` not present in any of\n`%s`' % (got, want))
E AssertionError: False is not true : `10:14:22` not present in any of
E `(datetime.time(23, 14, 22), datetime.time(7, 14, 22))`
tests\spanner_dbapi\test_types.py:58: AssertionError
______________________TypesTests.test_TimestampFromTicks______________________
self = <tests.spanner_dbapi.test_types.TypesTests testMethod=test_TimestampFromTicks>
def test_TimestampFromTicks(self):
epochTicks = 1572851662.9782631 # Sun Nov 03 23:14:22 2019
got = TimestampFromTicks(epochTicks)
# Since continuous integration infrastructure such as Travis CI
# uses clocks on UTC, it is useful to be able to compare against
# either of UTC or the known standard time.
want = (
datetime.datetime(2019, 11, 3, 23, 14, 22),
datetime.datetime(2019, 11, 4, 7, 14, 22, tzUTC),
)
matches = got in want
> self.assertTrue(matches, '`%s` not present in any of\n`%s`' % (got, want))
E AssertionError: False is not true : `2019-11-04 10:14:22` not present in any of
E `(datetime.datetime(2019, 11, 3, 23, 14, 22), datetime.datetime(2019, 11, 4, 7, 14, 22))`
tests\spanner_dbapi\test_types.py:71: AssertionError