]> granicus.if.org Git - python/commitdiff
issue27202 - Exclude 2.x release notes from python3 make doctests.
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 5 Jun 2016 03:52:57 +0000 (20:52 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Sun, 5 Jun 2016 03:52:57 +0000 (20:52 -0700)
Patch contributed by Jelle Zijlstra.

Doc/conf.py

index d6f20ba25c48d685d1217da110f10740c1301db2..114f9b6a242465c2db8f3ec082a97fd172850524 100644 (file)
@@ -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