Skip to content

Commit

Permalink
fix: check Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Mar 26, 2024
1 parent 8bd8c60 commit f963257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Hero(SQLModel, table=True): # type: ignore

@pytest.fixture()
def current_date() -> datetime.date:
return datetime.datetime.now(datetime.UTC).date()
return utcnow().date()


@pytest.fixture()
Expand Down

0 comments on commit f963257

Please sign in to comment.