def read(self, length):

        data = ''
        for unused in range(length):
            data += self._queue.get()
        return data
Override mod_python.apache.mp_conn.read.
dataset/ETHPy150Open google/pywebsocket/test/mock.py/MockBlockingConn.read