DOC: fixup magpis doctests
@@ -14,8 +14,8 @@ functions or as coordinates using any of the coordinate systems available in
`astropy.coordinates`. The FITS image is returned as an
`~astropy.io.fits.HDUList` object. Here is a sample query:
-.. code-block:: python
.. doctest-remote-data::
+
>>> from astroquery.magpis import Magpis
>>> from astropy import coordinates
>>> from astropy import units as u
@@ -33,12 +33,11 @@ appropriate `~astropy.units.Quantity` object.
You may also specify the MAGPIS survey from which to fetch the cutout via the
keyword ``survey``. To know the list of valid surveys:
-.. code-block:: python
.. doctest-remote-data::
+
>>> from astroquery.magpis import Magpis
- >>> Magpis.list_surveys() # doctest: +IGNORE_OUTPUT
- [
- 'gps6'
+ >>> Magpis.list_surveys()
+ ['gps6',
'gps6epoch2',
'gps6epoch3',
'gps6epoch4',
@@ -58,8 +57,8 @@ keyword ``survey``. To know the list of valid surveys:
The default survey used is 'bolocam'. Here is a query setting these optional
parameters as well.
-.. code-block:: python
.. doctest-remote-data::
+
>>> from astroquery.magpis import Magpis
>>> import astropy.units as u
>>> import astropy.coordinates as coord
