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 r.david.murray
Recipients bethard, chris.jerdonek, r.david.murray, terry.reedy, wim.glenn
Date 2013-01-15.16:22:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358266920.59.0.761408485631.issue16468@psf.upfronthosting.co.za>
In-reply-to
Content
CPython only would not be appropriate, as it is not.

What I usually do in such cases is use AssertRaisesRegex looking for some critical part of the message that represents the functionality we are looking for rather than the exact text.  In this case, it would be looking for the type name of the problem value in the message, since that is how we are identifying the specific source of the error.
History
Date User Action Args
2013-01-15 16:22:00r.david.murraysetrecipients: + r.david.murray, terry.reedy, bethard, chris.jerdonek, wim.glenn
2013-01-15 16:22:00r.david.murraysetmessageid: <1358266920.59.0.761408485631.issue16468@psf.upfronthosting.co.za>
2013-01-15 16:22:00r.david.murraylinkissue16468 messages
2013-01-15 16:22:00r.david.murraycreate