The latest astropy development version has deprecated astropy.tests.helper.raises. This raises a warning in our compatibility workflow e.g. HERE. Following the astropy recommendation, this PR drops astropy.tests.helper.raises and uses pytest.raises instead.
Description
The latest astropy development version has deprecated
astropy.tests.helper.raises
. This raises a warning in our compatibility workflow e.g. HERE. Following the astropy recommendation, this PR dropsastropy.tests.helper.raises
and usespytest.raises
instead.Checklist