Skip to content

Commit 8ec402b

Browse files
committed
close sockets inside the event loop
1 parent 532a63f commit 8ec402b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def context(contexts):
6666

6767

6868
@pytest.fixture
69-
def sockets(contexts):
69+
async def sockets(contexts):
7070
sockets = []
7171
yield sockets
7272
# ensure any tracked sockets get their contexts cleaned up

0 commit comments

Comments
 (0)