Skip to content

Commit b11029c

Browse files
committed
Skip the doc example in testing
1 parent c21b57f commit b11029c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/sbpy/data.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -703,16 +703,16 @@ For using the DASTCOM5 Module, you have to first download the databse locally.
703703
That can be done by:
704704

705705
>>> from sbpy.utils import dastcom5
706-
>>> dastcom5.download_dastcom5()
706+
>>> dastcom5.download_dastcom5() # doctest: +SKIP
707707

708708
After the database is downloaded, all the queries can be done easily.
709709

710710
DASTCOM5 is a subset of Small Body Database provided by JPL, NASA.
711711
For querying the database, either name or record number for the object
712712
can be used.
713713

714-
>>> dastcom5.orbit_from_name('atira')
715-
>>> dastcom5.orbit_from_record(900001)
714+
>>> dastcom5.orbit_from_name('atira') # doctest: +SKIP
715+
>>> dastcom5.orbit_from_record(900001) # doctest: +SKIP
716716

717717
More information about the DASTCOM5 Database can be taken from it's README file.
718718

sbpy/data/orbit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def from_dastcom5(cls, name):
151151
Examples
152152
--------
153153
>>> from sbpy.data import Orbit
154-
>>> orb = Orbit.from_dastcom5('atira')
154+
>>> orb = Orbit.from_dastcom5('atira') # doctest: +SKIP
155155
156156
"""
157157
dastcom5_dir = os.path.join(utils.dastcom5.SBPY_LOCAL_PATH, "dastcom5")

0 commit comments

Comments
 (0)