[pypy-commit] pypy py3k: Introduce whatsnew-pypy3-head.rst and change test_whatsnew to use it.

mjacob noreply at buildbot.pypy.org
Wed Feb 25 17:06:42 CET 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3k
Changeset: r76140:fdf7176248d9
Date: 2015-02-25 17:03 +0100
http://bitbucket.org/pypy/pypy/changeset/fdf7176248d9/

Log:	Introduce whatsnew-pypy3-head.rst and change test_whatsnew to use
	it.

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
@@ -85,7 +85,7 @@
     #whatsnew_list = doc.listdir('whatsnew-*.rst')
     #whatsnew_list.sort()
     #last_whatsnew = whatsnew_list[-1].read()
-    last_whatsnew = doc.join('whatsnew-head.rst').read()
+    last_whatsnew = doc.join('whatsnew-pypy3-head.rst').read()
     startrev, documented = parse_doc(last_whatsnew)
     merged, branch = get_merged_branches(ROOT, startrev, '')
     merged.discard('default')
@@ -100,5 +100,5 @@
     print '\n'.join(not_merged)
     print
     assert not not_documented
-    if branch == 'default':
+    if branch == 'py3k':
         assert not not_merged
diff --git a/pypy/doc/whatsnew-pypy3-head.rst b/pypy/doc/whatsnew-pypy3-head.rst
new file mode 100644
--- /dev/null
+++ b/pypy/doc/whatsnew-pypy3-head.rst
@@ -0,0 +1,6 @@
+========================
+What's new in PyPy3 2.4+
+========================
+
+.. this is the revision after pypy3-release-2.4.x was branched
+.. startrev: 3f967c2be00e


More information about the pypy-commit mailing list