def METHOD_NAME(fmt, tmp_path):
    """Test that property output to grdecl file is limited to < 128 width."""
    grd = xtgeo.create_box_grid((4, 5, 7))
    poro = xtgeo.GridProperty(grd, name="PORO", values=0.12345618282884882828)
    poro.to_file(tmp_path / "some_poro.grdecl", fformat="grdecl", fmt=fmt)
    with open(tmp_path / "some_poro.grdecl", "r", encoding="utf8") as stream:
        for line in stream.readlines():
            assert len(line) < 128