2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f,tests/unit/bokeh/client/test_states.py,MockConnection,_transition_to_disconnected,#MockConnection#,38

Before Change


    def _wait_for_ack(self): raise gen.Return("_wait_for_ack")
    def _handle_messages(self): raise gen.Return("_handle_messages")
    def _transition(self, arg): raise gen.Return(("_transition", arg))
    def _transition_to_disconnected(self): raise gen.Return("_transition_to_disconnected")
    def _next(self): raise gen.Return("_next")

    @gen.coroutine
    def _pop_message(self): raise gen.Return(self._to_pop)

After Change


    async def _wait_for_ack(self): return "_wait_for_ack"
    async def _handle_messages(self): return "_handle_messages"
    async def _transition(self, arg): return ("_transition", arg)
    async def _transition_to_disconnected(self): return "_transition_to_disconnected"
    async def _next(self): return "_next"

    async def _pop_message(self): return self._to_pop
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: tests/unit/bokeh/client/test_states.py
Class Name: MockConnection
Method Name: _transition_to_disconnected


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: tests/unit/bokeh/client/test_states.py
Class Name: MockConnection
Method Name: _wait_for_ack


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: tests/unit/bokeh/client/test_states.py
Class Name: MockConnection
Method Name: _handle_messages


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: tests/unit/bokeh/client/test_states.py
Class Name: MockConnection
Method Name: _next


Project Name: bokeh/bokeh
Commit Name: 2c5cf9c065fdcf0b4b15ab861ed9c0de62a2067f
Time: 2019-11-18
Author: bryan@bokeh.org
File Name: tests/unit/bokeh/client/test_states.py
Class Name: MockConnection
Method Name: _connect_async