-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doc errors for unittest in Python 3.1 #55299
Comments
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: http://docs.python.org/py3k/library/unittest.html#command-line-interface |
This incorrect section on unittest command line features was added by Eric according to svn blame. |
Patch to remove the section about command-line usage + other things new in 3.2. |
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 before r79167 (Ezio). |
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. |
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 not documented on 3.1. This seems to be fixed now so I'm closing it, if I missed something feel free to reopen it. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: