[New-bugs-announce] [issue27504] Missing assertion methods in unittest documentation

Mitchell Model report at bugs.python.org
Tue Jul 12 20:40:21 EDT 2016


New submission from Mitchell Model:

In looking at the source for unittest.TestCase I was very surprised to see quite a few assertion methods that are not included in the module documentation. Every available assertion method should be included in the library documentation. Users should not have to look at the source to see what's available — in fact, why would it even occur to the typical user to do that?

Also, I think the phrase "provides several assert methods to check for and report failures" is an understatement — it provides MANY assert methods.

I think "assertion method" is a better term than "assert method".

----------
assignee: docs at python
components: Documentation
messages: 270278
nosy: MLModel, docs at python
priority: normal
severity: normal
status: open
title: Missing assertion methods in unittest documentation
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27504>
_______________________________________


More information about the New-bugs-announce mailing list