[ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X
Dmitry Vasiliev
lists at hlabs.spb.ru
Wed Dec 14 06:27:49 EST 2005
Tim Peters wrote:
> [Dmitry Vasiliev]
>> Oops, my bad. I couldn't imagine that misspelled text could been used in
>> any doctests so I had omitted the testing phase because I was in some
>> hurry. :-( And unfortunately I was far from any computers for past few
>> days.
>
> Thanks for following up -- I was afraid you had vanished!
Not so fast... ;-)
> Especially for newer code, the tests try to exercise error conditions as
> well as normal and edge cases, and it's natural in doctests to include the
> text of an exception message. So, ya, there's really nothing you can change
> outside of NEWS.txt anymore that doesn't require testing.
Sure, but my reasonable assumption was that when you insert an exception
message in a doctest you reread it another one time and fix typos if any. I'll
be more careful in the future about such assumptions.
--
Dmitry Vasiliev (dima at hlabs.spb.ru)
http://hlabs.spb.ru
More information about the ZODB-Dev
mailing list