mirror of
https://github.com/simonw/datasette.git
synced 2026-10-21 16:57:03 +02:00
parent
cf113a5985
commit
e1a4e03635
16 changed files with 24 additions and 47 deletions
|
|
@ -1727,7 +1727,7 @@ async def test_hook_track_event():
|
|||
# Should have a recent created as well
|
||||
created = event.created
|
||||
assert isinstance(created, datetime.datetime)
|
||||
assert created.tzinfo == datetime.timezone.utc
|
||||
assert created.tzinfo == datetime.UTC
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue