Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/spanner_dbapi/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_DateFromTicks(self):
)

def test_TimeFromTicks(self):
epochTicks = 1572851662.9782631 # Sun Nov 03 23:14:22 2019
epochTicks = 1572812062.9782631 # Sun Nov 03 23:14:22 2019
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mf2199, I've got such a failure on Windows, and @tina80lvl reproduced it on Linux, so it looks like a solution.
Still, as it never failed on kokoro, we probably should check it with draft PR to be sure

got = TimeFromTicks(epochTicks)
# Since continuous integration infrastructure such as Travis CI
# uses clocks on UTC, it is useful to be able to compare against
Expand All @@ -67,7 +67,7 @@ def test_TimeFromTicks(self):
)

def test_TimestampFromTicks(self):
epochTicks = 1572851662.9782631 # Sun Nov 03 23:14:22 2019
epochTicks = 1572812062.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
Expand Down