Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove note saying patch is straightforward #18431

Merged
merged 1 commit into from Feb 10, 2020

Conversation

briancurtin
Copy link
Member

@briancurtin briancurtin commented Feb 10, 2020

While unittest.mock.patch is a great thing, it is not straightforward. If it were straightforward there wouldn't be such a huge amount of documentation for it, and frankly, when myself and others who I've read about often struggle to figure out what on earth patch() wants, coming to the docs to read that it's straightforward is not helpful.

While `unittest.mock.patch` is a great thing, it is not straightforward.
If it were straightforward there wouldn't be such a huge amount of
documentation for it, and frankly, when myself and others who I've
read about often struggle to figure out what on earth `patch()` wants,
coming to the docs to read that it's straightforward is not helpful.
@briancurtin briancurtin added the docs Documentation in the Doc dir label Feb 10, 2020
@briancurtin briancurtin self-assigned this Feb 10, 2020
@briancurtin briancurtin merged commit e00c1d0 into python:master Feb 10, 2020
@bedevere-bot
Copy link

bedevere-bot commented Feb 10, 2020

@briancurtin: Please replace # with GH- in the commit message next time. Thanks!

@briancurtin briancurtin deleted the patch-is-not-straightforward branch Feb 10, 2020
sthagen added a commit to sthagen/python-cpython that referenced this pull request Feb 10, 2020
Remove note saying patch is straightforward (python#18431)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants