Skip to content
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

Update version{added,changed} entries in py3k unittest docs #51279

Closed
mdickinson opened this issue Oct 1, 2009 · 6 comments
Closed

Update version{added,changed} entries in py3k unittest docs #51279

mdickinson opened this issue Oct 1, 2009 · 6 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@mdickinson
Copy link
Member

BPO 7030
Nosy @mdickinson, @ezio-melotti, @voidspace

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:

assignee = 'https://github.com/voidspace'
closed_at = <Date 2010-02-05.21:51:29.291>
created_at = <Date 2009-10-01.20:09:00.024>
labels = ['docs']
title = 'Update version{added,changed} entries in py3k unittest docs'
updated_at = <Date 2010-02-05.21:58:00.899>
user = 'https://github.com/mdickinson'

bugs.python.org fields:

activity = <Date 2010-02-05.21:58:00.899>
actor = 'ezio.melotti'
assignee = 'michael.foord'
closed = True
closed_date = <Date 2010-02-05.21:51:29.291>
closer = 'michael.foord'
components = ['Documentation']
creation = <Date 2009-10-01.20:09:00.024>
creator = 'mark.dickinson'
dependencies = []
files = []
hgrepos = []
issue_num = 7030
keywords = []
message_count = 6.0
messages = ['93419', '98397', '98654', '98655', '98910', '98914']
nosy_count = 3.0
nosy_names = ['mark.dickinson', 'ezio.melotti', 'michael.foord']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue7030'
versions = ['Python 3.1', 'Python 3.2']

@mdickinson
Copy link
Member Author

The py3k unittest docs have a few instances of:

.. versionadded:: 2.7

and

.. versionchanged:: 2.7

Presumably all of these should be either 3.1 or 3.2. I'd fix them, but
I think Michael has a much better chance of getting all the version
numbers right. :)

@mdickinson mdickinson added the docs Documentation in the Doc dir label Oct 1, 2009
@voidspace
Copy link
Contributor

skip* functions are missing 'new in' documentation. These need to be correct for 2.7 and 3.1 / 3.2 as well.

Plus the example of assertRaises as a context manager sucks.

http://docs.python.org/dev/library/unittest.html#unittest.TestCase.assertRaises

@ezio-melotti
Copy link
Member

The versionadded/changed have been fixed in r77788.
The doc for assertSameElements should also clarify that repeated elements are ignored.

@ezio-melotti
Copy link
Member

s/r77788/r77888/

@voidspace
Copy link
Contributor

assertSameElements doc issue fixed in revision 77997. Also improved example for assertRaises as a context manager and added versionadded to the test skipping section. Revisions 77999-78002.

Thanks for sorting the version changed / added in the Py3k docs Ezio.

@ezio-melotti
Copy link
Member

You should thank Georg for those, I just fixed the examples in r77968. ;)

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

3 participants