Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r75436:41b93b18408c
Date: 2015-01-19 12:16 +0100
http://bitbucket.org/pypy/pypy/changeset/41b93b18408c/

Log:    Baaaah. It picked "whatsnew-head.rst" by choosing the last
        "whatsnew-*.rst" in alphabetical order. But nowadays we have
        "whatsnew-pypy3-*" too...

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
@@ -78,9 +78,10 @@
 
 def test_whatsnew():
     doc = ROOT.join('pypy', 'doc')
-    whatsnew_list = doc.listdir('whatsnew-*.rst')
-    whatsnew_list.sort()
-    last_whatsnew = whatsnew_list[-1].read()
+    #whatsnew_list = doc.listdir('whatsnew-*.rst')
+    #whatsnew_list.sort()
+    #last_whatsnew = whatsnew_list[-1].read()
+    last_whatsnew = doc.join('whatsnew-head.rst').read()
     startrev, documented = parse_doc(last_whatsnew)
     merged, branch = get_merged_branches(ROOT, startrev, '')
     merged.discard('default')
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to