R. David Murray added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16468>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to