mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-25 10:24:32 +02:00
Handle datetime.time correctly
This commit is contained in:
parent
46281c9db0
commit
f03d2eddd8
2 changed files with 3 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ def test_create_table_with_not_null(fresh_db):
|
|||
{"create": "Reserved word", "table": "Another"},
|
||||
[{"name": "create", "type": "TEXT"}, {"name": "table", "type": "TEXT"}],
|
||||
),
|
||||
({"day": datetime.time(11, 0)}, [{"name": "day", "type": "TEXT"}]),
|
||||
),
|
||||
)
|
||||
def test_create_table_from_example(fresh_db, example, expected_columns):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue