def test_aiolog_write_binary(handler, framework_aio):
    pytest.importorskip("txaio.aio")
    from txaio.aio import _TxaioFileHandler

    out_file = BytesIO()
    observer = _TxaioFileHandler(out_file)

    observer.emit(Log(args={
        "log_message": "hi: {testentry}",
        "testentry": "hello",
        "log_time": 1442890018.002233
    }))

    output = out_file.getvalue()
    assert b"hi: hello" in output
A flag that shows or hides the window as requested.
dataset/ETHPy150Open crossbario/txaio/test/test_logging.py/test_aiolog_write_binary--crossover with--dataset/ETHPy150Open arrayfire/arrayfire-python/arrayfire/graphics.py/Window.set_visibility