Skip to content

Commit

Permalink
z
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc committed Apr 17, 2024
1 parent da3964f commit e85df59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bindings/python/tests/asyncio/steps/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ async def _(context):
assert row.values() == ({"xx": date(2020, 1, 1)},)

# Tuple
row = await context.conn.query_row("select (10, '20', to_datetime('2024-04-16 12:34:56.789'))")
row = await context.conn.query_row(
"select (10, '20', to_datetime('2024-04-16 12:34:56.789'))"
)
assert row.values() == ((10, "20", datetime(2024, 4, 16, 12, 34, 56, 789)),)


Expand Down
4 changes: 3 additions & 1 deletion bindings/python/tests/blocking/steps/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ async def _(context):
assert row.values() == ({"xx": date(2020, 1, 1)},)

# Tuple
row = context.conn.query_row("select (10, '20', to_datetime('2024-04-16 12:34:56.789'))")
row = context.conn.query_row(
"select (10, '20', to_datetime('2024-04-16 12:34:56.789'))"
)
assert row.values() == ((10, "20", datetime(2024, 4, 16, 12, 34, 56, 789)),)


Expand Down

0 comments on commit e85df59

Please sign in to comment.