Skip to content

Commit

Permalink
chore: make test runnable
Browse files Browse the repository at this point in the history
  • Loading branch information
tobymao committed Apr 11, 2024
1 parent d3472c6 commit 6b21bba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/dialects/test_postgres.py
Expand Up @@ -468,9 +468,9 @@ def test_postgres(self):
},
)
self.validate_all(
"SELECT DATE_PART('epoch', '2023-01-04 04:05:06.789')",
"SELECT DATE_PART('epoch', CAST('2023-01-04 04:05:06.789' AS TIMESTAMP))",
read={
"": "SELECT TIME_TO_UNIX('2023-01-04 04:05:06.789')",
"": "SELECT TIME_TO_UNIX(TIMESTAMP '2023-01-04 04:05:06.789')",
},
)
self.validate_all(
Expand Down

0 comments on commit 6b21bba

Please sign in to comment.