Skip to content

Commit 47bd905

Browse files
committed
Super ugly hack to get the warning shown but still pass the doctest. Fix once issue 2323 is addressed
1 parent 222a776 commit 47bd905

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/mast/mast.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,8 @@ of returned records. the default values for offset and limit is 0 and 5000 respe
254254
>>> missions = MastMissions()
255255
>>> results = missions.query_criteria(sci_start_time=">=2021-01-01 00:00:00",
256256
... select_cols=["sci_stop_time", "sci_targname", "sci_start_time", "sci_status", "sci_pep_id"],
257-
... sort_by=['sci_pep_id'], limit=1000, offset=1000)
257+
... sort_by=['sci_pep_id'], limit=1000, offset=1000) # doctest: +IGNORE_WARNINGS
258+
... # MaxResultsWarning('Maximum results returned, may not include all sources within radius.')
258259
>>> len(results)
259260
1000
260261

0 commit comments

Comments
 (0)