This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tseaver
Recipients ammon_riley, pitrou, tarek, tseaver, vstinner
Date 2010-05-05.15:51:05
SpamBayes Score 0.021785794
Marked as misclassified No
Message-id <1273074667.67.0.225331497661.issue4265@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2010-05-05 15:51:08tseaversetrecipients: + tseaver, pitrou, vstinner, tarek, ammon_riley
2010-05-05 15:51:07tseaversetmessageid: <1273074667.67.0.225331497661.issue4265@psf.upfronthosting.co.za>
2010-05-05 15:51:05tseaverlinkissue4265 messages
2010-05-05 15:51:05tseavercreate