[pypy-commit] pypy default: don't complain if 'default' is documented

antocuni noreply at buildbot.pypy.org
Tue Jun 5 09:58:28 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r55302:efedebf46f63
Date: 2012-06-04 11:51 +0200
http://bitbucket.org/pypy/pypy/changeset/efedebf46f63/

Log:	don't complain if 'default' is documented

diff --git a/pypy/doc/test/test_whatsnew.py b/pypy/doc/test/test_whatsnew.py
--- a/pypy/doc/test/test_whatsnew.py
+++ b/pypy/doc/test/test_whatsnew.py
@@ -16,6 +16,7 @@
             startrev = parseline(line)
         elif line.startswith('.. branch:'):
             branches.add(parseline(line))
+    branches.discard('default')
     return startrev, branches
 
 def get_merged_branches(path, startrev, endrev):
@@ -51,6 +52,10 @@
 .. branch: hello
 
 qqq www ttt
+
+.. branch: default
+
+"default" should be ignored and not put in the set of documented branches
 """
     startrev, branches = parse_doc(s)
     assert startrev == '12345'


More information about the pypy-commit mailing list