Skip to content

Commit 463f988

Browse files
committed
drop conftest eventloop
1 parent b49acfc commit 463f988

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/conftest.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import asyncio
21
import functools
32
from pathlib import PurePath, PurePosixPath, PureWindowsPath
43
from uuid import uuid4
@@ -34,11 +33,3 @@ def fixture_model_with_path(request):
3433
@pytest.fixture
3534
def random_type():
3635
return type(f"Random{uuid4().hex[:6]}", (), {})
37-
38-
39-
@pytest.fixture(autouse=True, scope="session")
40-
def event_loop():
41-
loop = asyncio.new_event_loop()
42-
asyncio.set_event_loop(loop)
43-
yield loop
44-
loop.close()

0 commit comments

Comments
 (0)