commit | 20f9d7510977b415b9f038e2795daae603dd7fed | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <[email protected]> | Sun Aug 07 08:52:26 2016 -0700 |
committer | Chris Withers <[email protected]> | Tue Apr 30 08:39:55 2019 +0100 |
tree | 1f30bec1cb5bf17b4a0d7aa9c4612610f9437181 | |
parent | 2f356b28d42a1fd0057c9d8763d3a2cac2284165 [diff] |
Issue #26750: unittest.mock.create_autospec() now works properly for subclasses of property() and other data descriptors. Backports: 9854789efec0c707fff871b32b2833f32b078fb3 Signed-off-by: Chris Withers <[email protected]> The cpython patch removed two tests and replaced with one, I've just added the new test paranoidly, so we keep the old ones as the diff didn't apply cleanly.