Re: logging module and doctest

2007-01-25 Thread Gary Jefferson
Peter Otten wrote: > Peter Otten wrote: > > > Gary Jefferson wrote: > > > >> I've written a logging.filter and would like to use doctest on it > >> (using a StreamHandler for stdout), but this doesn't seem possible. > >> Output from the logger seems to disappear (running the doctest strings > >> th

Re: logging module and doctest

2007-01-25 Thread Peter Otten
Peter Otten wrote: > Gary Jefferson wrote: > >> I've written a logging.filter and would like to use doctest on it >> (using a StreamHandler for stdout), but this doesn't seem possible. >> Output from the logger seems to disappear (running the doctest strings >> through the interpreter as-is yield

Re: logging module and doctest

2007-01-25 Thread Peter Otten
Gary Jefferson wrote: > I've written a logging.filter and would like to use doctest on it > (using a StreamHandler for stdout), but this doesn't seem possible. > Output from the logger seems to disappear (running the doctest strings > through the interpreter as-is yields expected results). I assu