diff options
author | Xtreak <tir.karthi@gmail.com> | 2019-07-22 07:38:22 (GMT) |
---|---|---|
committer | Chris Withers <chris@withers.org> | 2019-07-22 07:38:22 (GMT) |
commit | 7397cda99795a4a8d96193d710105e77a07b7411 (patch) | |
tree | 476ce4e60fbe1ffbdf40cf754b506bfa2deeafab /Doc/bugs.rst | |
parent | b530a4460b7a6ea96f1fa81a7c5bb529ead574ef (diff) | |
download | cpython-7397cda99795a4a8d96193d710105e77a07b7411.zip cpython-7397cda99795a4a8d96193d710105e77a07b7411.tar.gz cpython-7397cda99795a4a8d96193d710105e77a07b7411.tar.bz2 |
bpo-21478: Record calls to parent when autospecced objects are used as child with attach_mock (GH 14688)
* 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.
Diffstat (limited to 'Doc/bugs.rst')
0 files changed, 0 insertions, 0 deletions