Skip to content

Commit

Permalink
Remove explicit request for event_loop fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
alisaifee committed Jan 23, 2024
1 parent a613ac3 commit 79ced46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_concurrency.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def hit():
@pytest.mark.integration
class TestAsyncConcurrency:
@async_all_storage
async def test_fixed_window(self, event_loop, uri, args, fixture):
async def test_fixed_window(self, uri, args, fixture):
storage = storage_from_string(uri, **args)
limiter = limits.aio.strategies.FixedWindowRateLimiter(storage)
limit = RateLimitItemPerMinute(5)
Expand All @@ -89,7 +89,7 @@ async def hit():
assert len(hits) == 5

@async_moving_window_storage
async def test_moving_window(self, event_loop, uri, args, fixture):
async def test_moving_window(self, uri, args, fixture):
storage = storage_from_string(uri, **args)
limiter = limits.aio.strategies.MovingWindowRateLimiter(storage)
limit = RateLimitItemPerMinute(5)
Expand Down

0 comments on commit 79ced46

Please sign in to comment.