File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 66import astropy .units as u
77from astropy .table import Table
88from astropy .coordinates import SkyCoord
9- from packaging .version import Version
109
1110from astropy .utils .exceptions import AstropyDeprecationWarning
1211from astroquery .exceptions import NoResultsWarning
13- import pyvo
12+
1413from pyvo .dal .exceptions import DALOverflowWarning
1514
1615from astroquery .heasarc import Heasarc
@@ -157,10 +156,6 @@ def test_list_catalogs__keywords(self):
157156 assert "rosmaster" in catalogs
158157 assert "rassmaster" in catalogs
159158
160- @pytest .mark .skipif (
161- Version (pyvo .__version__ ) < Version ('1.4' ),
162- reason = "DALOverflowWarning is available only in pyvo>=1.4"
163- )
164159 def test_tap__maxrec (self ):
165160 query = "SELECT TOP 10 ra,dec FROM xray"
166161 with pytest .warns (expected_warning = DALOverflowWarning , match = overflow_message ):
You can’t perform that action at this time.
0 commit comments