[py-dev] py.test and logging issue: ValueError: I/O operation on closed file

holger krekel holger at merlinux.eu
Fri Jul 10 09:36:54 CEST 2009


On Thu, Jul 09, 2009 at 13:03 -0700, Sridhar Ratnakumar wrote:
> On Thu, 09 Jul 2009 04:20:57 -0700, holger krekel <holger at merlinux.eu>  
> wrote:
>
>> As py.test should nicely work on many CPython versions i also
>> did a general workaround in py.test proper, see here:
>>    http://bitbucket.org/hpk42/py-trunk/changeset/f04b11d51e64/
>
> This will suppress *all* exceptions thrown by the logging module, no?

no.  It is only surpressed when the whole testing process is
about to end - so should not affect any test or teardown
functions, just the atexit-handling of logging basically. 

holger



More information about the Pytest-dev mailing list