]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38250: [Enum] only include .rst test if file available (GH-24342)
authorEthan Furman <ethan@stoneleaf.us>
Tue, 26 Jan 2021 20:52:52 +0000 (12:52 -0800)
committerGitHub <noreply@github.com>
Tue, 26 Jan 2021 20:52:52 +0000 (12:52 -0800)
commit01faf4542a8652adfbd3b3f897ba718e8ce43f5e
tree3221c9a57b80e3a32c345963ba4b6a7f281a817a
parentdea5bf9d15999bfcc58095b157c0678d45b00bdd
bpo-38250: [Enum] only include .rst test if file available (GH-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.
Lib/test/test_enum.py