def METHOD_NAME(self):
    """Test border exclusion."""
    with pytest.warns(NoDetectionsWarning,
                      match='No local peaks were found'):
        tbl = find_peaks(PEAKDATA, 0.1, box_size=3, border_width=3)
        assert tbl is None