Skip to content

Commit

Permalink
untyped func
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-96 committed Jan 23, 2025
1 parent ef7f3ef commit fd8cd56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/benchmarks/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _gen():

@pytest.fixture
def create_team_with_participants() -> None:
async def _create():
async def _create() -> None:
tournament = await Tournament.create(name="New Tournament")
event = await Event.create(name="Test", tournament_id=tournament.id)
team = await Team.create(name="Some Team")
Expand All @@ -102,8 +102,7 @@ async def _create():

@pytest.fixture
def create_decimals() -> None:
async def _create():
async def _create() -> None:
await DecimalFields.create(decimal=Decimal("1.23456"), decimal_nodec=18.7)
await DecimalFields.filter(decimal=Decimal("1.2346")).first()

asyncio.get_event_loop().run_until_complete(_create())

0 comments on commit fd8cd56

Please sign in to comment.