[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-37047: Refactor AsyncMock setup logic for autospeccing by tirkarthi · Pull Request #13574 · python/cpython

tirkarthi

added 8 commits

May 26, 2019 01:05
* Handle late binding while setting attributes on AsyncMock during create_autospec.
* Refactor out async mock setup logic outside the function.
* Add awaited attribute during setup.
* Fix assert_not_awaited error message.

…of the loop

1st1 approved these changes May 27, 2019

Merged

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
…13574)

Handle late binding and attribute access in unittest.mock.AsyncMock
setup for autospeccing.