[Python-checkins] cpython (3.5): issue27202 - Exclude 2.x release notes from python3 make doctests.
senthil.kumaran
python-checkins at python.org
Sat Jun 4 23:53:40 EDT 2016
https://hg.python.org/cpython/rev/70af472451cb
changeset: 101740:70af472451cb
branch: 3.5
parent: 101738:fea14da8442d
user: Senthil Kumaran <senthil at uthcode.com>
date: Sat Jun 04 20:52:57 2016 -0700
summary:
issue27202 - Exclude 2.x release notes from python3 make doctests.
Patch contributed by Jelle Zijlstra.
files:
Doc/conf.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Doc/conf.py b/Doc/conf.py
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -36,8 +36,9 @@
# Require Sphinx 1.2 for build.
needs_sphinx = '1.2'
-# Ignore any .rst files in the venv/ directory.
-exclude_patterns = ['venv/*']
+# Ignore any .rst files in the venv/ directory, and don't attempt to run tests
+# in the 2.x release notes.
+exclude_patterns = ['venv/*', 'whatsnew/2.*.rst']
# Options for HTML output
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list