homepage

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.

Author terry.reedy
Recipients docs@python, guettli, terry.reedy
Date 2016年04月27日.17:35:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461778515.48.0.691545531762.issue26869@psf.upfronthosting.co.za>
In-reply-to
Content
Replace existing description with
"This class attribute determines what happens when a custom failure message is passed as the msg argument to an assertXYY call that fails. If True, the default, the custom message is appended to the end of the standard failure message. If False, the custom message replaces the standard message.
The standard failure message for each *assert method* contains useful information about the objects involved. For example the message from assertEqual shows the repr of the two unequal objects. It is usually easier to augment rather than replace this message
The class setting can be overridden in individual test methods by assigning an instance attribute, self.longMessage, to True or False before calling the assert methods.
New in version 3.1."
History
Date User Action Args
2016年04月27日 17:35:15terry.reedysetrecipients: + terry.reedy, guettli, docs@python
2016年04月27日 17:35:15terry.reedysetmessageid: <1461778515.48.0.691545531762.issue26869@psf.upfronthosting.co.za>
2016年04月27日 17:35:15terry.reedylinkissue26869 messages
2016年04月27日 17:35:15terry.reedycreate

AltStyle によって変換されたページ (->オリジナル) /