[issue4265] shutil.copyfile() leaks file descriptors when disk fills
Tres Seaver
report at bugs.python.org
Wed May 5 17:51:07 CEST 2010
Tres Seaver <tseaver at agendaless.com> added the comment:
I would be glad to write those tests, if you could explain the strategy you have in mind more fully: since 'shutil.copyfile' performs the 'open' itself, I couldn't figure out how to stub in such a mocked up file.
Does 'open' provide a hook for testing purposes that I don't know about?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4265>
_______________________________________
More information about the Python-bugs-list
mailing list