{"action":"created","issue":{"url":"https://api.github.com/repos/aaugustin/websockets/issues/92","labels_url":"https://api.github.com/repos/aaugustin/websockets/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/aaugustin/websockets/issues/92/comments","events_url":"https://api.github.com/repos/aaugustin/websockets/issues/92/events","html_url":"https://github.com/aaugustin/websockets/issues/92","id":122395035,"number":92,"title":"Unittest failures in version 3.5.1 and with latest asyncio code.","user":{"login":"SzieberthAdam","id":1587268,"avatar_url":"https://avatars.githubusercontent.com/u/1587268?v=3","gravatar_id":"","url":"https://api.github.com/users/SzieberthAdam","html_url":"https://github.com/SzieberthAdam","followers_url":"https://api.github.com/users/SzieberthAdam/followers","following_url":"https://api.github.com/users/SzieberthAdam/following{/other_user}","gists_url":"https://api.github.com/users/SzieberthAdam/gists{/gist_id}","starred_url":"https://api.github.com/users/SzieberthAdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SzieberthAdam/subscriptions","organizations_url":"https://api.github.com/users/SzieberthAdam/orgs","repos_url":"https://api.github.com/users/SzieberthAdam/repos","events_url":"https://api.github.com/users/SzieberthAdam/events{/privacy}","received_events_url":"https://api.github.com/users/SzieberthAdam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-15T23:48:56Z","updated_at":"2015-12-16T09:22:33Z","closed_at":null,"body":"Currently at abec6594f master. \r\n\r\nOperating system: Linux szamsi 4.2.3-1-ARCH #1 SMP PREEMPT Sat Oct 3 18:52:50 CEST 2015 x86_64 GNU/Linux\r\nPython version: Python 3.5.1 (default, Dec  7 2015, 12:58:09) [GCC 5.2.0] on linux\r\nAsyncio: python/asyncio@74f2d8c87 master\r\nTest result:\r\n```\r\n[adam@szamsi websockets]$ make test\r\npython -m unittest\r\n.......................................................................................................E..EE.E..............EE..........................F.......E......E.....E......................................................\r\n======================================================================\r\nERROR: test_close_connection_lost (websockets.test_protocol.ClientTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 699, in test_close_connection_lost\r\n    self.loop.run_until_complete(self.protocol.close(reason='close'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.\r\n\r\n======================================================================\r\nERROR: test_close_preserves_incoming_frames (websockets.test_protocol.ClientTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 681, in test_close_preserves_incoming_frames\r\n    self.loop.run_until_complete(self.protocol.close(reason='close'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1000, reason = close.\r\n\r\n======================================================================\r\nERROR: test_close_protocol_error (websockets.test_protocol.ClientTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 693, in test_close_protocol_error\r\n    self.loop.run_until_complete(self.protocol.close(reason='close'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1002, no reason.\r\n\r\n======================================================================\r\nERROR: test_connection_closed_attributes (websockets.test_protocol.ClientTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 620, in test_connection_closed_attributes\r\n    self.loop.run_until_complete(self.protocol.close(reason='close'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1000, reason = close.\r\n\r\n======================================================================\r\nERROR: test_local_close (websockets.test_protocol.ClientTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 637, in test_local_close\r\n    self.loop.run_until_complete(self.protocol.close(reason='close'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1000, reason = close.\r\n\r\n======================================================================\r\nERROR: test_local_close_during_recv (websockets.test_protocol.ClientTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 726, in test_local_close_during_recv\r\n    self.loop.run_until_complete(self.protocol.close(reason='close'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1000, reason = close.\r\n\r\n======================================================================\r\nERROR: test_simultaneous_close (websockets.test_protocol.ClientTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 670, in test_simultaneous_close\r\n    self.loop.run_until_complete(self.protocol.close(reason='local'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1000, reason = remote.\r\n\r\n======================================================================\r\nERROR: test_close_connection_lost (websockets.test_protocol.ServerTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 699, in test_close_connection_lost\r\n    self.loop.run_until_complete(self.protocol.close(reason='close'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1006, no reason.\r\n\r\n======================================================================\r\nERROR: test_connection_closed_attributes (websockets.test_protocol.ServerTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 548, in write_frame\r\n    yield from self.writer.drain()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 313, in drain\r\n    yield from self._protocol._drain_helper()\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/streams.py\", line 194, in _drain_helper\r\n    raise ConnectionResetError('Connection lost')\r\nConnectionResetError: Connection lost\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 620, in test_connection_closed_attributes\r\n    self.loop.run_until_complete(self.protocol.close(reason='close'))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 337, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 121, in send\r\n    return self.gen.send(value)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 217, in close\r\n    yield from self.write_frame(OP_CLOSE, frame_data)\r\n  File \"/usr/lib/python3.5/asyncio/coroutines.py\", line 105, in __next__\r\n    return self.gen.send(None)\r\n  File \"/home/adam/github/ws34/websockets/websockets/protocol.py\", line 553, in write_frame\r\n    raise ConnectionClosed(self.close_code, self.close_reason)\r\nwebsockets.exceptions.ConnectionClosed: WebSocket connection is closed: code = 1000, reason = close.\r\n\r\n======================================================================\r\nFAIL: test_remote_close (websockets.test_protocol.ClientTests)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 658, in test_remote_close\r\n    self.assertConnectionClosed(1000, 'close')\r\n  File \"/home/adam/github/ws34/websockets/websockets/test_protocol.py\", line 203, in assertConnectionClosed\r\n    self.assertEqual(self.protocol.close_code, code)\r\nAssertionError: 1006 != 1000\r\n\r\n----------------------------------------------------------------------\r\nRan 228 tests in 14.177s\r\n\r\nFAILED (failures=1, errors=9)\r\nException ignored in: <generator object get at 0x7f9dedeef150>\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.5/asyncio/queues.py\", line 170, in get\r\n    getter.cancel()  # Just in case getter is not done yet.\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 227, in cancel\r\n    self._schedule_callbacks()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 242, in _schedule_callbacks\r\n    self._loop.call_soon(callback, self)\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 447, in call_soon\r\n    handle = self._call_soon(callback, args)\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 456, in _call_soon\r\n    self._check_closed()\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 284, in _check_closed\r\n    raise RuntimeError('Event loop is closed')\r\nRuntimeError: Event loop is closed\r\nMakefile:5: recipe for target 'test' failed\r\nmake: *** [test] Error 1\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/aaugustin/websockets/issues/comments/165044222","html_url":"https://github.com/aaugustin/websockets/issues/92#issuecomment-165044222","issue_url":"https://api.github.com/repos/aaugustin/websockets/issues/92","id":165044222,"user":{"login":"SzieberthAdam","id":1587268,"avatar_url":"https://avatars.githubusercontent.com/u/1587268?v=3","gravatar_id":"","url":"https://api.github.com/users/SzieberthAdam","html_url":"https://github.com/SzieberthAdam","followers_url":"https://api.github.com/users/SzieberthAdam/followers","following_url":"https://api.github.com/users/SzieberthAdam/following{/other_user}","gists_url":"https://api.github.com/users/SzieberthAdam/gists{/gist_id}","starred_url":"https://api.github.com/users/SzieberthAdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SzieberthAdam/subscriptions","organizations_url":"https://api.github.com/users/SzieberthAdam/orgs","repos_url":"https://api.github.com/users/SzieberthAdam/repos","events_url":"https://api.github.com/users/SzieberthAdam/events{/privacy}","received_events_url":"https://api.github.com/users/SzieberthAdam/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T09:22:33Z","updated_at":"2015-12-16T09:22:33Z","body":"My bad, for some reason I believed #84 was only affecting 3.5.0 which is not true. Now I am back on track and believe we are talking about the same change."}}