8000 bpo-37047: Refactor AsyncMock setup logic for autospeccing by tirkarthi · Pull Request #13574 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-37047: Refactor AsyncMock setup logic for autospeccing #13574

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

Merged
merged 11 commits into from
May 27, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
< 8000 svg style="box-sizing: content-box; color: var(--color-icon-primary);" width="32" height="32" viewBox="0 0 16 16" fill="none" aria-hidden="true" data-view-component="true" class="flex-1 anim-rotate"> Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add NEWS
  • Loading branch information
tirkarthi committed May 25, 2019
commit 8e6500c6ad3114107faa0cfdb89733b81ec77c75
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Handle late binding and attribute access in AsyncMock setup for
autospeccing. Document newly implemented async methods in MagicMock.
Copy link
Contributor
@mariocj89 mariocj89 May 27, 2019

Choose a reason for hiding this comment

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

Note: If you want to make this a link you can convert the AsyncMock and MagicMock to
:class:unittest.mock.AsyncMock and :class:unittest.mock.MagicMock

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. Thanks.

0