Message247076
So if I understand right, it seems to me the 3.5/mock 1.1.4 behavior is correct. mock_open(read_data="f") acts like a file that contains f, and m() acts like an open() of that file. So if I call open once, I should read the f, then EOF. If I open twice, then each stream (x and y) is independent, and each sees f then EOF. |
|
Date |
User |
Action |
Args |
2015-07-21 23:54:34 | pkoning | set | recipients:
+ pkoning, rbcollins, michael.foord, python-dev, quasipedia, berker.peksag |
2015-07-21 23:54:34 | pkoning | set | messageid: <1437522874.2.0.81205895553.issue21750@psf.upfronthosting.co.za> |
2015-07-21 23:54:34 | pkoning | link | issue21750 messages |
2015-07-21 23:54:34 | pkoning | create | |
|