Commit d41c343f authored by Guido van Rossum's avatar Guido van Rossum

asyncio: Use socketpair() from test_utils in tests (Saúl Ibarra Corretgé).

parent 488b0da5
......@@ -896,7 +896,7 @@ class EventLoopTestsMixin:
proto = MyWritePipeProto(loop=self.loop)
return proto
rsock, wsock = self.loop._socketpair()
rsock, wsock = test_utils.socketpair()
pipeobj = io.open(wsock.detach(), 'wb', 1024)
@tasks.coroutine
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment