Skip to content

Conversation

@ethanfurman
Copy link
Member

@ethanfurman ethanfurman commented Jan 26, 2021

In order to ensure the ReST documentation is up to date for Enum,
use doctest to check it -- but only if the .rst files have not
been stripped.

https://bugs.python.org/issue38250

In order to ensure the ReST documentation is up to date for Enum,
use doctest to check it -- but only if the .rst files have not
been stripped.
@ethanfurman ethanfurman merged commit 01faf45 into python:master Jan 26, 2021
@ethanfurman ethanfurman deleted the enum-rst_test branch January 26, 2021 20:53
@vstinner
Copy link
Member

Thanks for keeping tests.addTests(doctest.DocTestSuite(enum)) ;-)

adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
…24342)

* [Enum] only include .rst test if file available

In order to ensure the ReST documentation is up to date for Enum,
use doctest to check it -- but only if the .rst files have not
been stripped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants