| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@serhiy-storchaka friendly ping :) |
Sorry, something went wrong.
|
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 unittest.SkipTest only skips a single subtest, not all following subtests. This difference between unittest.SkipTest and doctest.SkipTest may be confusing. On other hand, raising unittest.SkipTest outside of a subTest() block skips the whole test. Since the line that raises doctest.SkipTest does not have an expected output or traceback, it may be not counted as example. 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. |
Sorry, something went wrong.
|
Thanks for the info, would love to see better unittest + doctest intergration. Marking this as a draft for now. |
Sorry, something went wrong.
|
This PR is stale because it has been open for 30 days with no activity. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
I ended up with an exception instead of a decorator. Several reasons:
📚 Documentation preview 📚: https://cpython-previews--122935.org.readthedocs.build/