Author pkoning
Recipients berker.peksag, michael.foord, pkoning, python-dev, quasipedia, rbcollins
Date 2015-07-21.19:48:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sure, you can use a vfs.  That's true for a lot of mock functions; the benefit of mock, including mock_open, is that it provides an easier and better packaged way.  The behavior expected is "be like a file".  So in that last example, if you open it twice, you've got two views of the same "file" data, independent of each other, and reads of each file will see that data in full. has no effect on

I don't think I understand what the latest discussion/issue is all about.
Date User Action Args
2015-07-21 19:48:06pkoningsetrecipients: + pkoning, rbcollins, michael.foord, python-dev, quasipedia, berker.peksag
2015-07-21 19:48:06pkoningsetmessageid: <>
2015-07-21 19:48:06pkoninglinkissue21750 messages
2015-07-21 19:48:05pkoningcreate