-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'tox -e pypy3' fails un the doctests phase #305
Comments
/me sings, a la Polly Purebred, "Oh where, oh where is my renormalize fu. / Oh where, oh where can he be?: |
The challenge here is that the RENormalizing support is in zope.testing (https://github.com/zopefoundation/zope.testing/blob/master/src/zope/testing/renormalizing.py) but these tests are run by a sphinx extension https://www.sphinx-doc.org/en/master/usage/extensions/doctest.html |
@davisagli Thanks, I got just about far enough to see that before I gave up. My inclination would be to bracket the |
Or just use the ellipsis to match a bit more widely: “object …Foo…”
…On Mon, May 27, 2024 at 11:40 AM Tres Seaver ***@***.***> wrote:
@davisagli <https://github.com/davisagli> Thanks, I got just about far
enough to see that before I gave up.
My inclination would be to bracket the __repr__-failing doctest snippets
with # doctest: SKIP and just get on with why I originally came to the
party :)
—
Reply to this email directly, view it on GitHub
<#305 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAL65RB5NFXQR5SNRU7NFTZEN42HAVCNFSM6AAAAABIKH3HBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTHEZDMNBYGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Fixed in #308 |
Quelle surprise? A doctest fails because of some object's
__repr__
produces different output on different versions / implementations of Python?We don't see this on GHA because GHA sensibly doesn't run the doctests in every possible environment, but only with the docs themselves.
The text was updated successfully, but these errors were encountered: