[issue1466065] base64 module ignores non-alphabet characters
R. David Murray
report at bugs.python.org
Wed Jul 29 18:40:22 CEST 2009
R. David Murray <rdmurray at bitdance.com> added the comment:
If "it may be noisy where it was silent before", then add one of those
cases and make sure the noise doesn't happen before your fix, and does
happen after.
If you have to check the value of the exception string for other tests,
then do so. There are plenty of examples of this in the existing tests,
(see the pydoc tests, for example). If you can limit what you test for
so that the test will be resitent to changes in the exact text, so much
the better. You can use assertRaisesRegexp for this in 2.7.
----------
nosy: +r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1466065>
_______________________________________
More information about the Python-bugs-list
mailing list