Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[unittest.mock] restore Mock._spec_asyncs and match upstream
Summary: D42039568 backported an early version of python/cpython#100252, and there were some changes made before that PR was merged upstream. Backport those changes so we match upstream behavior. Most importantly, this restores `_spec_asyncs`, which although a private API does seem to be used. Test Plan: Test suite Reviewers: itamaro, #cinder Reviewed By: itamaro Subscribers: mpage, jackyzhang Differential Revision: https://phabricator.intern.facebook.com/D42416767 Tasks: T141890380 Tags: commitClose, cinder-310-upstream-complete, publish_when_ready
- Loading branch information