def METHOD_NAME(self):
    """Test event file reading."""
    fname = os.path.join(datadir, "monol_testA_calib.evt")
    with pytest.warns(AstropyUserWarning, match="No extensions found with a"):
        evdata = load_events_and_gtis(fname)
    fname_unsrt = os.path.join(datadir, "monol_testA_calib_unsrt.evt")
    with pytest.warns(UserWarning, match="not sorted. Sorting them for you"):
        evdata_unsrt = load_events_and_gtis(fname_unsrt)
    for attr in "ev_list", "energy_list", "pi_list":
        assert np.allclose(getattr(evdata, attr), getattr(evdata_unsrt, attr))