-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-85934: Use getattr_static when adding mock spec #22209
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
Changes from 1 commit
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
0a61770
bpo-41768: Use getattr_static when adding mock spec
melwitt 943f8d3
📜🤖 Added by blurb_it.
blurb-it[bot] 4bdc642
Return object from SomethingElse.instance property
melwitt 2e05daa
Apply suggestions from code review
melwitt a916d4b
Clean up whitespace damage and adjust assert
melwitt fad2710
Merge branch 'main' of github.com:python/cpython into unittest.mock-g…
melwitt d953168
Add newline at the end of NEWS entry
melwitt 3f7a9f2
Merge branch 'main' into unittest.mock-getattr
terryjreedy fcb1fc8
Merge branch 'main' of https://github.com/python/cpython into unittes…
melwitt 698856c
Move getattr_static call into existing loop
melwitt 9baa71f
Update Misc/NEWS.d/next/Library/2020-09-16-16-53-06.bpo-41768.8_fWkC.rst
melwitt 0ab362e
Merge branch 'python:main' into unittest.mock-getattr
melwitt a20b360
Handle async methods decorated with @classmethod or @staticmethod
melwitt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add newline at the end of NEWS entry
- Loading branch information
commit d953168b5fcf1ff6ce1ffe8f58f441c4320a587e
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
Misc/NEWS.d/next/Library/2020-09-16-16-53-06.bpo-41768.8_fWkC.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
unittest.mock speccing no longer calls class properties | ||
unittest.mock speccing no longer calls class properties | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.