cpython: c2e018c54689 (original) (raw)

Mercurial > cpython

changeset 86560:c2e018c54689

Fix asyncio issue #19293 (hangs on AIX). [#19293]

Guido van Rossum guido@dropbox.com
date Mon, 21 Oct 2013 21:28:45 -0700
parents f33cc4a175a4
children b5cc822d5bf0
files Lib/test/test_asyncio/test_events.py
diffstat 1 files changed, 4 insertions(+), 8 deletions(-)[+] [-] Lib/test/test_asyncio/test_events.py 12

line wrap: on

line diff

--- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -887,9 +887,6 @@ class EventLoopTestsMixin: @unittest.skipUnless(sys.platform != 'win32', "Don't support pipes for Windows")

@@ -899,8 +896,8 @@ class EventLoopTestsMixin: proto = MyWritePipeProto(loop=self.loop) return proto

@tasks.coroutine def connect(): @@ -916,11 +913,10 @@ class EventLoopTestsMixin: self.assertEqual('CONNECTED', proto.state) transport.write(b'1')

self.loop.run_until_complete(proto.done) self.assertEqual('CLOSED', proto.state)