Skip to content

Commit ed062d4

Browse files
committed
test: Remove the loop parameter
1 parent 3f4b25a commit ed062d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_AsyncDatabase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async def test_sqlmodel_session(fake_users):
178178

179179
@pytest.fixture()
180180
def lock(event_loop: AbstractEventLoop):
181-
return asyncio.Lock(loop=event_loop)
181+
return asyncio.Lock()
182182

183183

184184
async def test_async_session_context_var(fake_users, lock, i=1):

0 commit comments

Comments
 (0)