def METHOD_NAME():
    filename = os.path.join(SAMPLES_DIR, "bytes_test_data.avro")
    data = [
        bytes("hello", "utf-8"),
        bytes("hii", "utf-8"),
        bytes("byee", "utf-8"),
        bytes("pink", "utf-8"),
        bytes("blue", "utf-8"),
        bytes("red", "utf-8"),
        bytes("chrome", "utf-8"),
        bytes("green", "utf-8"),
        bytes("black", "utf-8"),
        bytes("peach", "utf-8"),
    ]
    assert pytest.approx(ak.from_avro_file(file=filename).to_list()) == data