[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-10-28 Thread Phil Connell
Change by Phil Connell : -- nosy: +pconnell ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-14 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +15747 pull_request: https://github.com/python/cpython/pull/16137 ___ Python tracker ___ __

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-13 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: New changeset 14fd925a18fe3db0922a7d798e373102fe7a8a9c by Stéphane Wirtel (Michael Foord) in branch 'master': bpo-38122: minor fixes to AsyncMock spec handling (GH-16099) https://github.com/python/cpython/commit/14fd925a18fe3db0922a7d798e373102fe7a8a9c

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-13 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +15719 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16099 ___ Python tracker ___ __

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-12 Thread Michael Foord
Michael Foord added the comment: That may change though, right? In general I dislike the proliferation of keyword arguments if it's at all possible to avoid. I added way too many of them originally and the mock API is really big. -- ___ Python tr

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-11 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Sorry, is there an example of this use case. I went through the issue but have trouble understanding it since there are different suggestions. I guess child mock is always an AsyncMock irrespective of sync/async as I understand. We already had some

[issue38122] AsyncMock force always creating an AsyncMock for child mocks

2019-09-11 Thread Lisa Roach
New submission from Lisa Roach : This idea has been brought up in person before and also discussed on AsyncTest: https://github.com/Martiusweb/asynctest/issues/100 It could be useful if someone has a lot of attributes that are also async that need to be mocked. It could probably be done wi