8000 Use socketpair() from test_utils in tests · Python-Repository-Hub/asyncio@67e2c49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 67e2c49

Browse files
committed
Use socketpair() from test_utils in tests
1 parent 276df9b commit 67e2c49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ def factory():
896896
proto = MyWritePipeProto(loop=self.loop)
897897
return proto
898898

899-
rsock, wsock = self.loop._socketpair()
899+
rsock, wsock = test_utils.socketpair()
900900
pipeobj = io.open(wsock.detach(), 'wb', 1024)
901901

902902
@tasks.coroutine

0 commit comments

Comments
 (0)
0