classification
Title: Document TestCase attributes in class docstring
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.2, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Boris.FELD, djc, ezio.melotti, flub
Priority: normal Keywords: patch

Created on 2010-06-05 12:30 by flub, last changed 2011-12-18 13:06 by Boris.FELD.

Files
File name Uploaded Description Edit
unittest_docstring.patch Boris.FELD, 2011-12-18 13:06 Unittest TestCase docstring enhancement review
Messages (2)
msg107132 - (view) Author: Floris Bruynooghe (flub) Date: 2010-06-05 12:30
The unittest.TestCase class has some public attributes: failureException, longMessage and maxDiff.  They each have a description in a comment, but I think it would be good if that description got moved into the class docstring so that it would be found using help().
msg149751 - (view) Author: Boris FELD (Boris.FELD) * Date: 2011-12-18 13:06
Add a patch for this issue, move attributes comments in TestCase docstring.

I think it should be a good idea too to add their in unittest doc.
History
Date User Action Args
2011-12-18 13:06:39Boris.FELDsetfiles: + unittest_docstring.patch

nosy: + Boris.FELD
messages: + msg149751

keywords: + patch
2010-08-03 14:20:41djcsetnosy: + djc
2010-06-05 12:30:03flubcreate