def METHOD_NAME(testpath, tmp_path):
    """Export XYZ points to file, various formats."""
    test_points_path = testpath / POINTSET4
    orig_points = xtgeo.points_from_file(
        test_points_path
    )  # should guess based on extesion
    export_path = tmp_path / "attrs.rmsattr"
    orig_points.to_file(export_path, fformat="rms_attr")
    reloaded_points = xtgeo.points_from_file(export_path)
    pd.testing.assert_frame_equal(orig_points.dataframe, reloaded_points.dataframe)