[3.7] bpo-32933: Implement __iter__ method on mock_open() (GH-5974) by miss-islington · Pull Request #9311 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@miss-islington

Copy link Copy Markdown

Contributor

@miss-islington miss-islington commented

Sep 14, 2018

edited by bedevere-bot

Loading

(cherry picked from commit 2087023)

Co-authored-by: Tony Flury anthony.flury@btinternet.com

https://bugs.python.org/issue32933

(cherry picked from commit 2087023)

Co-authored-by: Tony Flury <anthony.flury@btinternet.com>
Comment thread

Doc/library/unittest.mock.rst Outdated

.. versionchanged:: 3.5
*read_data* is now reset on each call to the *mock*.

.. versionchanged:: 3.8
Copy link Copy Markdown

Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ned-deily should I change 3.8 to 3.7.1 or remove the versionchanged directive? (I will submit a separate PR for master if we decide to remove it.)

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you should change it to 3.7.1 for the 3.7 branch. Thanks!

@miss-islington

Copy link Copy Markdown

Contributor Author

@TonyFlury and @berkerpeksag: Status check is done, and it's a success ✅ .

@berkerpeksag berkerpeksag merged commit c83c375 into python:3.7

Sep 14, 2018

@miss-islington miss-islington deleted the backport-2087023-3.7 branch

September 14, 2018 21:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@berkerpeksag berkerpeksag berkerpeksag left review comments

@ned-deily ned-deily ned-deily left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@miss-islington @berkerpeksag @ned-deily @the-knights-who-say-ni @bedevere-bot @TonyFlury