Author rbcollins
Recipients berker.peksag, michael.foord, pkoning, quasipedia, rbcollins
Date 2015-07-15.00:23:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think its worth noting that both the original mock_open and the new one are entirely broken for mocking access to multiple files.

But, the breakage was not deliberate, and as the mock-280 example shows, folk subclassing a test suite will be surprisingly broken vs the long table releases of mock itself.

So, I think its ok to fix this - relying on the second file appearing empty is IMO unlikely, and being more compatible with the prior releases of mock is good.

We probably need to rethink this interface and provide a better one though, so that you can mock a filesystem easily. Thats a different discussion though.
Date User Action Args
2015-07-15 00:23:36rbcollinssetrecipients: + rbcollins, michael.foord, quasipedia, berker.peksag, pkoning
2015-07-15 00:23:36rbcollinssetmessageid: <>
2015-07-15 00:23:36rbcollinslinkissue21750 messages
2015-07-15 00:23:34rbcollinscreate