Skip to content

gh-111704: Add stdtypes.rst to doctests #136501

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Jul 10, 2025

Please, help me with this one :)

This stdtypes.rst PR:

  • Enables more >>> to be tested with doctest in test cases. Because regular doctest runs all >>> examples, not just ones that are explicitly marked as doctests. Which is benefitial, when we already have lots of code samples
  • Refactors .. doctest:: to be a regular code, because we don't need to test it twice with sphinx doctest and doctest

📚 Documentation preview 📚: https://cpython-previews--136501.org.readthedocs.build/

@sobolevn
Copy link
Member Author

sobolevn commented Jul 10, 2025

This is a very interesting case: tests fail on WASI https://github.com/python/cpython/actions/runs/16193074826/job/45713120305?pr=136501

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy