Skip to content

Commit 4bc9d1e

Browse files
committed
MAINT: remove old pyvo skip
1 parent 47c736c commit 4bc9d1e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

astroquery/heasarc/tests/test_heasarc_remote.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
import astropy.units as u
77
from astropy.table import Table
88
from astropy.coordinates import SkyCoord
9-
from packaging.version import Version
109

1110
from astropy.utils.exceptions import AstropyDeprecationWarning
1211
from astroquery.exceptions import NoResultsWarning
13-
import pyvo
12+
1413
from pyvo.dal.exceptions import DALOverflowWarning
1514

1615
from 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):

0 commit comments

Comments
 (0)