Message180032
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. |
|
Date |
User |
Action |
Args |
2013-01-15 16:22:00 | r.david.murray | set | recipients:
+ r.david.murray, terry.reedy, bethard, chris.jerdonek, wim.glenn |
2013-01-15 16:22:00 | r.david.murray | set | messageid: <1358266920.59.0.761408485631.issue16468@psf.upfronthosting.co.za> |
2013-01-15 16:22:00 | r.david.murray | link | issue16468 messages |
2013-01-15 16:22:00 | r.david.murray | create | |
|