SIGN IN SIGN UP

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.
X
Xtreak committed
7397cda99795a4a8d96193d710105e77a07b7411
Parent: b530a44
Committed by Chris Withers <chris@withers.org> on 7/22/2019, 7:38:22 AM