Skip to content

Commit ed8913e

Browse files
committed
TST: fixing failing doctests
1 parent 6dceccc commit ed8913e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

docs/casda/casda.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ For example:
2525
>>> from astropy import units as u
2626
>>> centre = SkyCoord.from_name('NGC 7232')
2727
>>> result_table = Casda.query_region(centre, radius=30*u.arcmin)
28-
>>> print(result_table['obs_publisher_did','s_ra', 's_dec', 'obs_release_date'][:5])
28+
>>> print(result_table['obs_publisher_did','s_ra', 's_dec', 'obs_release_date'][:5]) # doctest: +IGNORE_OUTPUT
2929
obs_publisher_did s_ra s_dec obs_release_date
3030
deg deg
3131
----------------- --------------- ---------------- ------------------------
@@ -45,7 +45,7 @@ For example to filter out the 30 non-public results from the above data set:
4545
.. doctest-remote-data::
4646

4747
>>> public_results = Casda.filter_out_unreleased(result_table)
48-
>>> print(public_results['obs_publisher_did','s_ra', 's_dec', 'obs_release_date'][:5])
48+
>>> print(public_results['obs_publisher_did','s_ra', 's_dec', 'obs_release_date'][:5]) # doctest: +IGNORE_OUTPUT
4949
obs_publisher_did s_ra s_dec obs_release_date
5050
deg deg
5151
----------------- --------------- ---------------- ------------------------

docs/ipac/nexsci/nasa_exoplanet_archive.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ A list of accessible tables can be found in the ``TAP_TABLES`` attribute:
9393

9494
>>> from astroquery.ipac.nexsci.nasa_exoplanet_archive import NasaExoplanetArchive
9595
>>> NasaExoplanetArchive.TAP_TABLES
96-
['superwasptimeseries',
96+
['spectra',
97+
'superwasptimeseries',
9798
'kelttimeseries',
9899
'DI_STARS_EXEP',
99100
'transitspec',

docs/jplsbdb/jplsbdb.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ item:
156156
.. code-block:: python
157157
158158
>>> sbdb['orbit']['moid_jup'] # doctest: +REMOTE_DATA
159-
<Quantity 0.431 AU>
159+
<Quantity 0.43 AU>
160160
161161
Note that many of the items in the output dictionary are associated
162162
with `~astropy.units` which can be readily used for
@@ -167,7 +167,7 @@ orbit intersection distance of the target with respect to Jupiter
167167
.. code-block:: python
168168
169169
>>> print(sbdb['orbit']['moid_jup'].to('km')) # doctest: +REMOTE_DATA
170-
64476682.271699995 km
170+
64327084.40099999 km
171171
172172
The vast majority of parameter names are identical to those used in
173173
the `SBDB API documentation

0 commit comments

Comments
 (0)