[issue6333] logging: ValueError: I/O operation on closed file

holger krekel report at bugs.python.org
Fri Jul 10 13:59:23 CEST 2009


holger krekel <holger.krekel at gmail.com> added the comment:

Actually py.test catches stdout separately for setup and for the test
code.  Moreover, functional or integration test code (py.test is not
only for unittests) can easily trigger some implicit logging-module
usage which cannot eaysily be factored into a testcase-setup method, i
am afraid.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6333>
_______________________________________


More information about the Python-bugs-list mailing list