Skip to content

Commit 5f3cf30

Browse files
committed
DOC: making sure doctests pass more often
1 parent 964af71 commit 5f3cf30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/io/uws.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ UWS job documents can be parsed directly from URLs, files, or strings using the
2828
... ORDER BY phot_g_mean_mag
2929
... """
3030
>>> async_job = tap_service.submit_job(ex_query)
31-
>>> async_job.run().wait() # doctest: +ELLIPSIS
31+
>>> async_job.run().wait()
3232
<pyvo.dal.tap.AsyncTAPJob object at 0x...>
3333
>>>
3434
>>> # Parse a single job from a UWS service
@@ -39,7 +39,7 @@ UWS job documents can be parsed directly from URLs, files, or strings using the
3939
>>> jobs = parse_job_list('http://dc.g-vo.org/tap/async')
4040
>>> # Show jobs
4141
>>> if len(jobs) >= 1:
42-
... print(f"Example job: {jobs[0].jobid} is {jobs[0].phase}") # doctest: +ELLIPSIS
42+
... print(f"Example job: {jobs[0].jobid} is {jobs[0].phase}")
4343
Example job: ... is ...
4444
>>>
4545
>>> print(f"Successfully parsed {len(jobs)} jobs") # doctest: +SKIP
@@ -380,9 +380,9 @@ While the examples above focus on individual jobs, you can also parse job lists:
380380
>>> # jobs = parse_job_list('job_list.xml')
381381
>>>
382382
>>> # Iterate through jobs (each is a JobSummary object)
383-
>>> for job in jobs: # doctest: +ELLIPSIS
383+
>>> for job in jobs:
384384
... print(f"Job {job.jobid}: {job.phase}")
385-
Job ...: COMPLETED
385+
Job ...
386386

387387

388388
Error Handling

0 commit comments

Comments
 (0)