gh-37882: eclib: fix doctests after 20240408 update
With the update to 20240408 and later, the output of eclib has some
extra information that makes some doctests fail. This PR adds some `...`
in the right spots so the tests still pass after the update, without
affecting previous versions of eclib
### :memo: Checklist
<!-- Put an `x` in all the boxes that apply. -->
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
URL: https://github.com/sagemath/sage/pull/37882
Reported by: Gonzalo TornarĂa
Reviewer(s): John Cremona