def receive_stream(ws, command, frame_callback):
    binary = command.get('binary', False)
    while True:
        data = ws.receive()
        data = base64.b64decode(data)
        if not binary:
            data = unicode(data, "utf-8","ignore")
        if data == command['eof']:
            break
        elif data == command['keepalive']:
            pass
        else:
            try:
                frame_callback(data, binary)
            except:
                log.debug("data = {}".format(repr(data)))
                raise
Empty file open.
dataset/ETHPy150Open datastax/cstar_perf/frontend/cstar_perf/frontend/lib/socket_comms.py/receive_stream--crossover with--dataset/ETHPy150Open google/fplutil/buildutil/android_test.py/FileMock.__enter__