Uh oh!
There was an error while loading. Please reload this page.
gh-117364: Add doctest.SkipTest to skip all or some doctest examples - #122935
gh-117364: Add doctest.SkipTest to skip all or some doctest examples#122935sobolevn wants to merge 2 commits into
doctest.SkipTest to skip all or some doctest examples#122935Conversation
sobolevn
commented
Oct 15, 2024
@serhiy-storchaka friendly ping :) |
serhiy-storchaka
commented
Oct 19, 2024
Thank you for the reminder @sobolevn. I worked on better integration of doctests with unittests (#108885). In these plans every doctest example is counted as a subtest. Raising So I want to try to make more progress on that issue first. Than we will see how it works together and what API is better for skipping doctests. |
sobolevn
commented
Oct 19, 2024
Thanks for the info, would love to see better unittest + doctest intergration. Marking this as a draft for now. |
This PR is stale because it has been open for 30 days with no activity. |
I ended up with an exception instead of a decorator. Several reasons:
testsourceand other text-based features. While@skip_ifdecorator required real objects with attributes.doctest.skip_ifdecorator #117364📚 Documentation preview 📚: https://cpython-previews--122935.org.readthedocs.build/