From d41c343f28bd7631cfa866f8276673ccafb71d57 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sat, 23 Nov 2013 11:51:53 -0800 Subject: =?UTF-8?q?asyncio:=20Use=20socketpair()=20from=20test=5Futils=20i?= =?UTF-8?q?n=20tests=20(Sa=C3=BAl=20Ibarra=20Corretg=C3=A9).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/test/test_asyncio/test_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 3a2dece..a9c6385 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -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 -- cgit v0.12