def METHOD_NAME(self):
    """Sources found, but none pass the peakmax criteria."""
    with pytest.warns(NoDetectionsWarning,
                      match='Sources were found, but none pass'):
        starfinder = IRAFStarFinder(threshold=50, fwhm=1.0, peakmax=1.0)
        tbl = starfinder(DATA)
        assert tbl is None