diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-07-22 07:59:00 (GMT) |
---|---|---|
committer | Chris Withers <chris@withers.org> | 2019-07-22 07:59:00 (GMT) |
commit | 22fd679dc363bfcbda336775da16aff4d6fcb33f (patch) | |
tree | 65c79998fdff2daf44568b665a1a7b40e53da384 /Doc/about.rst | |
parent | 24b5b360faf306ef67419dfe5d49ff22dbe827b1 (diff) | |
download | cpython-22fd679dc363bfcbda336775da16aff4d6fcb33f.zip cpython-22fd679dc363bfcbda336775da16aff4d6fcb33f.tar.gz cpython-22fd679dc363bfcbda336775da16aff4d6fcb33f.tar.bz2 |
bpo-21478: Record calls to parent when autospecced objects are used as child with attach_mock (GH 14688) (GH-14902)
* Clear name and parent of mock in autospecced objects used with attach_mock
* Add NEWS entry
* Fix reversed order of comparison
* Test child and standalone function calls
* Use a helper function extracting mock to avoid code duplication and refactor tests.
(cherry picked from commit 7397cda99795a4a8d96193d710105e77a07b7411)
Co-authored-by: Xtreak <tir.karthi@gmail.com>
Diffstat (limited to 'Doc/about.rst')
0 files changed, 0 insertions, 0 deletions