summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2016-06-05 03:53:38 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2016-06-05 03:53:38 (GMT)
commit003f60486aa1a02bbf41eb807d4917d6ac57e2cc (patch)
treefe4bd4721b6ff23dcdbb3b3b340d987ff45948cb
parent2950776d36576ea3c8db937ae0a5df57a73f7c51 (diff)
parentff6c5c5466d28868b881314400cd44a34f0d3cf6 (diff)
downloadcpython-003f60486aa1a02bbf41eb807d4917d6ac57e2cc.zip
cpython-003f60486aa1a02bbf41eb807d4917d6ac57e2cc.tar.gz
cpython-003f60486aa1a02bbf41eb807d4917d6ac57e2cc.tar.bz2
[merge from 3.5] - issue27202 - Exclude 2.x release notes from python3 make doctests.
Patch contributed by Jelle Zijlstra.
-rw-r--r--Doc/conf.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index d6f20ba..114f9b6 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -36,8 +36,9 @@ highlight_language = 'python3'
# 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