Skip to content

Commit eccbbbb

Browse files
authored
We can't use expanding-code-block in docstrings (#909)
It introduces a downstream dependency on our extension
1 parent cb53cff commit eccbbbb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ndcube/ndcube.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,8 +1550,7 @@ def to_nddata(self,
15501550
15511551
Examples
15521552
--------
1553-
.. expanding-code-block:: python
1554-
:summary: Expand to see cube instantiated.
1553+
.. testsetup::
15551554
15561555
>>> import astropy.units as u
15571556
>>> import astropy.wcs

0 commit comments

Comments
 (0)