This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: mistype of method's name
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Ivan Gushchin, bbayles, docs@python
Priority: normal Keywords:

Created on 2018-05-14 07:38 by Ivan Gushchin, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg316493 - (view) Author: Ivan Gushchin (Ivan Gushchin) Date: 2018-05-14 07:38
This link 
https://docs.python.org/2/library/unittest.html#unittest.SkipTest

names method from Capital letter. At the same time method name (according to help(unittest) ) is skipTest (starting lowercase). For those who reads documentation online this mistype leads to error.
msg316609 - (view) Author: bbayles (bbayles) * Date: 2018-05-15 02:07
I think you'll find that your link points to the exception class `SkipTest`, which does start with a capital level.

This is distinct from the `skipTest` method of `unittest.TestCase` objects, which starts with a lowercase letter.

The documentation looks right to me. See [1] for a demonstration of the difference.

[1] https://gist.github.com/bbayles/5158750b48a5accfceaa53a898b8b902
History
Date User Action Args
2022-04-11 14:59:00adminsetgithub: 77672
2020-05-31 13:32:52serhiy.storchakasetstatus: open -> closed
resolution: not a bug
stage: resolved
2018-05-15 02:07:56bbaylessetnosy: + bbayles
messages: + msg316609
2018-05-14 07:38:51Ivan Gushchincreate