Tres Seaver <[email protected]> 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 <[email protected]> <http://bugs.python.org/issue4265> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
