Unification of logging in Python's Standard Library
John Roth
newsgroups at jhrothjr.com
Tue Aug 19 21:40:06 EDT 2003
"Matthew Barnes" <matthew at barnes.net> wrote in message
news:3a8e83d2.0308191655.7a82881b at posting.google.com...
> I will say that unittest is what motivated me to suggest this in the
> first place, since I'm working on a testing framework that is
> attempting to take advantage of both the unittest *and* logging
> modules. Perhaps a new TestRunner class that uses logging
> (LoggingTestRunner?) might coexist with the default TextTestRunner.
Perhaps you could tell us a bit more about this? My usage of
unittest is (relatively) pure XP/TDD - I expect all of the tests
to pass except the last one I worked on, and when they don't,
I swat it immediately. Consequently, I don't see any need for
logging anything.
John Roth
>
> Matt
More information about the Python-list
mailing list