Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-38250: [Enum] only include .rst test if file available#24342

Merged
ethanfurman merged 2 commits into
python:masterpython/cpython:masterfrom
ethanfurman:enum-rst_testethanfurman/cpython:enum-rst_testCopy head branch name to clipboard
Jan 26, 2021
Merged

bpo-38250: [Enum] only include .rst test if file available#24342
ethanfurman merged 2 commits into
python:masterpython/cpython:masterfrom
ethanfurman:enum-rst_testethanfurman/cpython:enum-rst_testCopy head branch name to clipboard

Conversation

@ethanfurman

@ethanfurman ethanfurman commented Jan 26, 2021

Copy link
Copy Markdown
Member

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.
Comment thread Lib/test/test_enum.py Outdated
@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
Copy Markdown
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.