Antonio Cuni committed efedebf

don't complain if 'default' is documented

  • Participants
  • Parent commits e239c05

Comments (0)

Files changed (1)

File pypy/doc/test/

             startrev = parseline(line)
         elif line.startswith('.. branch:'):
+    branches.discard('default')
     return startrev, branches
 def get_merged_branches(path, startrev, endrev):
 .. 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'