Issue 34077: doc Be explicit about mock_open created mocks not supporting iter (original ) (raw ) Issue34077
Created on 2018-07-09 15:57 by adelfino , last changed 2022-04-11 14:59 by admin . This issue is now closed .
Pull Requests
URL
Status
Linked
Edit
PR 8203
closed
adelfino,2018-07-09 16:05
Messages (3)
msg321327 - (view)
Author: Andrés Delfino (adelfino) *
Date: 2018-07-09 15:57
I've been bitten by this one, and while the docs are clear in what the created mock objects support, I think something explicit about __iter__ will help.
msg321333 - (view)
Author: Berker Peksag (berker.peksag) *
Date: 2018-07-09 16:18
-1. We can't document every non-existent feature in the stdlib documentation. There is an already open issue for adding __iter__ support to mock_open(): Issue 21258
msg321335 - (view)
Author: Berker Peksag (berker.peksag) *
Date: 2018-07-09 16:33
There is also bpo-32933 .
History
Date
User
Action
Args
2022-04-11 14:59:02
admin
set
github: 78258
2018-07-09 16:33:31
berker.peksag
set
messages: +
2018-07-09 16🔞04
berker.peksag
set
status: open -> closednosy: + berker.peksag messages: + resolution: rejectedstage: patch review -> resolved
2018-07-09 16:05:28
adelfino
set
keywords: + patch stage: patch reviewpull_requests: + <pull%5Frequest7753>
2018-07-09 15:57:57
adelfino
create