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.
3 files changed