You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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
0 commit comments