def METHOD_NAME(tmpdir, extension, write):
    file_path = os.path.join(tmpdir, f"test{extension}")
    write(file_path)
    data_frame = load_data_frame(file_path)
    assert isinstance(data_frame, DataFrame)