Ezio Melotti ezio.melo...@gmail.com added the comment:
addCleanup/doCleanups/startTestRun/stopTestRun are in 3.1 too and now they are
documented as new in 3.1. I also removed the versionchanged note for __iter__
(0f9e5042907c).
Test discovery, --failfast, --catch, --buffer are new in 3.2 and
Éric Araujo mer...@netwok.org added the comment:
Hm, my patch removes too much. The part that was mistakenly added by me is the
command-line interface doc, but I also removed other parts for things noted
with versionadded: 3.2. Those indications are wrong: They were noted added in
2.7
Éric Araujo mer...@netwok.org added the comment:
It looks like the doc snippets are actually new in 3.1, so we should not remove
them but just fix the versionadded.
The change I wrongly added is the part about command-line use. That can go.
--
___
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file20657/fix-11090.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11090
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +docs@python
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11090
___
___
Python-bugs-list
Michael Foord mich...@voidspace.org.uk added the comment:
This incorrect section on unittest command line features was added by Eric
according to svn blame.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Patch to remove the section about command-line usage + other things new in 3.2.
--
keywords: +patch
Added file: http://bugs.python.org/file20657/fix-11090.diff
___
Python tracker rep...@bugs.python.org
New submission from Michael Foord mich...@voidspace.org.uk:
Looks like some unittest doc changes got incorrectly backported to Python 3.1.
For example the command line features using -m are new in 3.2 and don't work
with 3.1: