def METHOD_NAME(self):
    with pytest.raises(ValueError):
        DAOStarFinder(threshold=10, fwhm=1.5, brightest=-1)
    with pytest.raises(ValueError):
        DAOStarFinder(threshold=10, fwhm=1.5, brightest=3.1)