File tree Expand file tree Collapse file tree 5 files changed +19
-1
lines changed Expand file tree Collapse file tree 5 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 4
4
"""
5
5
from astropy import config as _config
6
6
7
+ import warnings
8
+
9
+ # Remove module altogether if API update is not done in 6 months (2022-11-02).
10
+ warnings .warn ("The legacy NRAO archive this module uses has been retired causing astroquery.nrao to be "
11
+ "broken. We will remove this exception once the sufficient updates are done to use the new "
12
+ "NRAO archive API." )
13
+
7
14
8
15
class Conf (_config .ConfigNamespace ):
9
16
"""
Original file line number Diff line number Diff line change 9
9
10
10
from io import BytesIO
11
11
12
- import numpy as np
13
12
import astropy .units as u
14
13
import astropy .io .votable as votable
15
14
from astropy import coordinates
Original file line number Diff line number Diff line change 7
7
import astropy .units as u
8
8
from astropy .table import Table
9
9
10
+ # Skip tests in this file until the new API is implemented:
11
+ # https://github.com/astropy/astroquery/issues/2316
12
+ pytest .skip (allow_module_level = True )
13
+
10
14
from ... import nrao
11
15
from astroquery .utils .mocks import MockResponse
12
16
from ...utils import commons
Original file line number Diff line number Diff line change 6
6
from astropy .table import Table
7
7
from astropy import units as u
8
8
9
+ # Skip tests in this file until the new API is implemented:
10
+ # https://github.com/astropy/astroquery/issues/2316
11
+ pytest .skip (allow_module_level = True )
12
+
9
13
from astroquery .utils .commons import ASTROPY_LT_4_1
10
14
from ... import nrao
11
15
Original file line number Diff line number Diff line change
1
+ .. doctest-skip-all
2
+ .. # Skip tests in this file until the new API is implemented:
3
+ .. # https://github.com/astropy/astroquery/issues/2316
4
+
1
5
.. _astroquery.nrao :
2
6
3
7
********************************
You can’t perform that action at this time.
0 commit comments