asyncio.test_events: Partially reverting f7643c893587 to stay in sync with tulip codebase

This commit is contained in:
Yury Selivanov 2014-09-24 23:30:03 -04:00
parent 5d0a790fc8
commit d1223a7adc
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ class EventLoopTestsMixin:
listener = socket.socket()
listener.setblocking(False)
listener.bind(('127.0.0.1', 0))
listener.listen()
listener.listen(1)
client = socket.socket()
client.connect(listener.getsockname())