We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a3ae7f commit 3a90fefCopy full SHA for 3a90fef
tests/test_codecs.py
@@ -1499,7 +1499,7 @@ async def test_timetz_encoding(self):
1499
await self.con.execute("SET TIME ZONE 'America/Toronto'")
1500
# Check decoding:
1501
row = await self.con.fetchrow(
1502
- 'SELECT extract(epoch from now()) AS epoch, '
+ 'SELECT extract(epoch from now())::float8 AS epoch, '
1503
'now()::date as date, now()::timetz as time')
1504
result = datetime.datetime.combine(row['date'], row['time'])
1505
expected = datetime.datetime.fromtimestamp(row['epoch'],
0 commit comments